karyotype_plot: Karyotype Plot

Description Usage Arguments Details Value Author(s) Examples

View source: R/karyotype_plot.R

Description

Creates a Karyotype plot

Usage

1
2
3
4
5
6
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'

Details

Creates a SNP Karyotype or Density plot from an R dataframe with "CHR" and "BP" columns.

Value

A SNP Karyotype plot.

Author(s)

Lindokuhle Nkambule

Examples

1

gwaRs documentation built on April 20, 2021, 1:07 a.m.