karyotype_plot: Karyotype Plot
Description
Creates a Karyotype plot
Usage
karyotype_plot(
data,
density.col = c("darkgreen", "yellow", "red"),
window.size = 1e+06,
title = NULL
)
Arguments
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'
Value
A SNP Karyotype plot.
Details
Creates a SNP Karyotype or Density plot from an R dataframe with "CHR" and "BP" columns.
Examples
Run this code# NOT RUN {
karyotype_plot(gwasData)
# }
Run the code above in your browser using DataLab