karyotype_plot {gwaRs}R Documentation

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'

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

karyotype_plot(gwasData)


[Package gwaRs version 0.3.0 Index]