Generates a Manhattan plot based on colocalisation data.
Usage
coloc_manh.plot(
df,
wh,
position = if ("position" %in% names(df)) {
df$position
} else {
1:nrow(df)
}
)
Arguments
- df
Data frame containing colocalisation data.
- wh
Which trait to plot (1 or 2).
- position
Chromosome positions or SNP numbers.