Learn R Programming

rMVP (version 1.1.1)

MVP.Report.Density: SNP Density

Description

SNP Density

Usage

MVP.Report.Density(
  Pmap,
  col = c("darkgreen", "yellow", "red"),
  dpi = 300,
  outpath = getwd(),
  memo = "MVP",
  bin.size = 1e+06,
  bin.max = NULL,
  file.type = "jpg",
  file.output = TRUE,
  verbose = TRUE
)

Value

Output file: <memo>.SNP_Density.<type>

Arguments

Pmap

P value Map

col

The color vector

dpi

Number. Dots per inch for .jpg and .tiff files

outpath

Only when file.output = TRUE, determines the path of the output file

memo

Character. A text marker on output files

bin.size

the window size for counting SNP number

bin.max

maximum SNP number, for winows, which has more SNPs than bin.max, will be painted in same color

file.type

format of output figure

file.output

Whether to output the file

verbose

whether to print detail.

Examples

Run this code
data(pig60K, package = "rMVP")

MVP.Report.Density(pig60K, file.output=FALSE)

Run the code above in your browser using DataLab