Learn R Programming

MEAL (version 1.2.3)

plotFeature: Plot values of a feature

Description

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

Usage

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

Run this code
if (require(minfiData)){
 set <- prepareMethylationSet(getBeta(MsetEx)[1:1000, ], 
 pheno = pData(MsetEx))
 plotFeature(set, 1, variables = "Sample_Group")
 }

Run the code above in your browser using DataLab