plotFeature: Plot values of a feature

Description Usage Arguments Value Examples

View source: R/plotFeature.R

Description

Plot values of a feature splitted by one or two variables.

Usage

1
plotFeature(set, feat, variables = variableNames(set)[1])

Arguments

set

AnalysisResults, AnalysisRegionResults, ExpressionSet or MethylationSet

feat

Numeric with the index of the feature or character with its name.

variables

Character vector with the names of the variables to be used in the splitting. Two variables is the maximum allowed. Note: default values are only valid for MethylationResults objects.

Value

A plot is generated on the current graphics device.

Examples

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

MEAL documentation built on May 20, 2017, 9:28 p.m.

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

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

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

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