Description Usage Arguments Value Examples
Compute mean gene signatures activation scores while controlling for technically similar genes.
1 2 | controlled.mean.score(environment, genes, knn = 10,
exclude.missing.genes = T, constrain.cell.universe = NA)
|
environment |
|
genes |
gene list upon which to calculate gene signature activate |
knn |
number of nearest neighbors |
exclude.missing.genes |
whether to exclude genes with missing values |
constrain.cell.universe |
binary vector indicating in which subset of cells to calculate the gene signature activation. Default is all cells. |
gene signature activation scores per cell
1 2 3 4 | LCMV1 <- setup_LCMV_example()
exhaustion_markers <- c('Pdcd1', 'Cd244', 'Havcr2', 'Ctla4', 'Cd160', 'Lag3',
'Tigit', 'Cd96')
Exhaustion <- controlled.mean.score(LCMV1, exhaustion_markers)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.