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 = colnames(pheno)[1], betas = TRUE)

Arguments

set

ExpressionSet, GenomicRatioSet or SummarizedExperiment.

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.

betas

If set is a GenomicRatioSet, should beta values be used? (Default: TRUE)

Value

A plot is generated on the current graphics device.

Examples

1
2
3
4
if (require(minfiData)){
set <- ratioConvert(mapToGenome(MsetEx[1:10,]))
 plotFeature(set, 1, variables = "Sample_Group")
 }

isglobal-brge/MEAL documentation built on May 8, 2021, 8:05 p.m.