Learn R Programming

rMVP (version 0.99.14.1)

MVP.Report.Density: SNP Density

Description

SNP Density

Usage

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

Arguments

Pmap

P value Map

taxa

The identifier of the output file.

col

The color vector

dpi

Number. Dots per inch for .jpg and .tiff 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

Value

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

Examples

Run this code
# NOT RUN {
data(pig60K, package = "rMVP")
MVP.Report.Density(pig60K, "mvp")
# }

Run the code above in your browser using DataLab