plotMethTruth: Plot the 'simulateMethTruthObject' from 'simulateMethTruth'

Description Usage Arguments Value Examples

Description

This function plots the simulate DNA meylation data from the simulateMethTruthObject.

Usage

1
plotMethTruth(simulateMethTruthObject)

Arguments

simulateMethTruthObject

Must be an object created from simulateMethTruth.

Value

Two plots: One is a histogram of mixture model of three normal distributions. The second is the density of the transformed methylation data scaled between 0 and 1.

Examples

1
2
3
methTruth <- simulateMethTruth(nProbes = 2e4, nGroups = 2,
                               pDiff = 0.05, pUp = 0.80)
plotMethTruth(methTruth)

stephaniehicks/quantroSim documentation built on May 30, 2019, 3:17 p.m.