View source: R/OriginalModel.R
subsetGeneSet | R Documentation |
A function used to subset gene expression value matrix based on certain gene sets.
subsetGeneSet(
theObject,
gene_set,
useAssay,
obtainDiagnosis = FALSE,
annotationColName = NULL
)
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 |
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. |
A matrix
with selected gene expression value if obtainDiagnosis == FALSE
.
If obtainDiagnosis == TRUE
, return a list
contains the selected
gene expression value and diagnosis results for each sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.