plotBestFeatures: Plot best n cpgs

Description Usage Arguments Value See Also Examples

View source: R/plotBestFeatures.R

Description

Wrapper of plotCPG that plots the top n features.

Usage

1
plotBestFeatures(set, n = 10, variables = variableNames(set)[1])

Arguments

set

AnalysisResults, AnalysisRegionResults, ExpressionSet or MethylationSet

n

Numeric with the number of features to be plotted.

variables

Character vector with the names of the variables to be used in the splitting.

Value

Plots are created on the current graphics device.

See Also

plotFeature

Examples

1
2
3
4
5
if (require(minfiData)){
 set <- prepareMethylationSet(getBeta(MsetEx)[1:10, ], 
 pheno = data.frame(pData(MsetEx)))
 plotBestFeatures(set, 2, variables = "Sample_Group")
 }

MEAL documentation built on May 31, 2017, 11:16 a.m.