Description Usage Arguments Details Value Author(s) Examples
View source: R/karyotype_plot.R
Creates a Karyotype plot
1 2 3 4 5 6 | 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
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.