Plot values of a feature

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.