plotMap-methods: Plotting a Map object.

Description Usage Arguments Value Author(s)

Description

This S4 generic function is used to plot a Map object. The Map object needs to have at leaset three slots: Marker names (Name), Chromosome, and Position.

Usage

1
2
3
4
plotMap(object, ...)

## S4 method for signature 'Map'
plotMap(object, plotMaf = FALSE, bin = 1e+06, maf.base = 0.3)

Arguments

object

An input Map object.

...

Some extra input parameter values; optional.

plotMaf

A logical value. If TRUE, MAF density will be plotted; otherwise, SNPs are plotted based on their map positions. plotted based on their chromosomal po

bin

Length of the bin in which SNPs are counted. The default length is 1M bp.

maf.base

The baseline MAF, which by default is 0.3. A MAF density above maf.base is trucated to be 1.

Value

None.

Author(s)

Nick X-L Wu


selectSNPs documentation built on Feb. 28, 2020, 5:08 p.m.