karyotype_plot {gwaRs} | R Documentation |
Creates a Karyotype plot
karyotype_plot(
data,
density.col = c("darkgreen", "yellow", "red"),
window.size = 1e+06,
title = NULL
)
data |
A data.frame with "CHR" and "BP"columns. |
density.col |
A character vector with colors to use for gradients. |
window.size |
A double precision numeric value indicating the window size. |
title |
A string denoting the title to use for the plot. Default is 'Manhattan Plot' |
Creates a SNP Karyotype or Density plot from an R dataframe with "CHR" and "BP" columns.
A SNP Karyotype plot.
Lindokuhle Nkambule
karyotype_plot(gwasData)