Description Usage Arguments Value Examples
View source: R/ascend_confoundingfactors.R
This function generates a scaled regression matrix based on candidate genes supplied by the user. This function should be used after normalisation.
1 | regressConfoundingFactors(object, candidate.genes = c())
|
object |
An |
candidate.genes |
A list of genes you wish to regress from the dataset. Refer to the vignette on how to choose genes for regression. |
An EMSet
with confounding factors regressed
from the expression values.
1 2 3 4 5 6 7 | # Load example EMSet
em_set <- ascend::analyzed_set
# Define genes to regress
genes <- c("CDK4","CCND1")
regressedSet <- regressConfoundingFactors(em_set, candidate.genes = genes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.