subsetExpressionSetDS: Subset ExpressionSet

View source: R/subsetExpressionSetDS.R

subsetExpressionSetDSR Documentation

Subset ExpressionSet

Description

Subset ExpressionSet using a categorical variable of the covariates as filter. Can also subset by complete cases

Usage

subsetExpressionSetDS(
  eSet,
  objective_variable,
  objective_value,
  complete_cases
)

Arguments

eSet

ExpressionSet ExpressionSet to subset

objective_variable

character (default NULL) Name of the covariate on the ExpressionSet to use as filter

objective_value

character (default NULL) Name of the value from the objective_variable to filter. The resulting subset will be the individuals that match this value. To put in in code, it can be represented as: subset <- expressionSet[expressionSet$objective_variable == objective_value,]

complete_cases

bool (default FALSE) If TRUE only the complete cases will be included on the subset. This option can be used with objective_variable and objective_value or without them, if those arguments are not present, the subset will be the complete cases of the whole ExpressionSet.

Value

Subseted ExpressionSet


isglobal-brge/dsOmics documentation built on Nov. 6, 2024, 1:28 a.m.