Description Usage Arguments Value
View source: R/signed_set_scoring.R
Takes in a gene set and uses normalized scaled gene expression data to calculate a score describing extent to which cells are expressing genes in the set. Seurat object must contain scale_data assay. Gene set must be organized such that "genes" are genes and "FC" is (log)foldchange. All genes will be assumed to be significant.
1 2 3 4 5 6 7 | signed_set_scoring(
ser,
geneset,
from_gene = "MGI",
to_gene = "MGI",
scaled = TRUE
)
|
ser |
A Seurat object to be scored by the gene set. Must contain scaled data |
geneset |
A list of genes and their fold changes. |
from_gene |
Original gene type |
to_gene |
Gene type for conversion |
scaled |
Boolean to determine whether to scale score by the number of genes in the set |
Outputs a vector of score values named as cell names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.