plotBestFeatures: Plot best n cpgs

Description Usage Arguments Value See Also Examples

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 = pData(MsetEx))
 plotBestFeatures(set, 2, variables = "Sample_Group")
 }


Search within the MEAL package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.