Filter gene expression value matrix based on certain gene sets.
Source:R/OriginalModel.R
subsetGeneSet.Rd
A function used to subset gene expression value matrix based on certain gene sets.
Usage
subsetGeneSet(
theObject,
gene_set,
useAssay,
obtainDiagnosis = FALSE,
annotationColName = NULL
)
Arguments
- theObject
A SummarizedExperiment object that has been pre-stored in OriginalTrainingData.RDA
- gene_set
A character vector that includes gene symbols for gene signatures.
- useAssay
A character string or an integer specifying the assay in the
theObject
that will be selected.- obtainDiagnosis
Boolean. Usually used to create training data if TRUE. Default is FALSE
- annotationColName
A character string specifying the column name of disease status. Only used when creating training data. Default is NULL.