Description Usage Arguments Details Value Examples
View source: R/gsva_cellIdentify.R
This function computes the mean expression of every cell-type before predicting the most likely cell-type using the GSVA method.
1 2 3 4 5 6 7 | gsva_cellIdentify(
pbmc,
theSpecies,
naming_preference = -9,
rda_path = "",
toSave = FALSE
)
|
pbmc |
Processed seurat object without named cells. |
theSpecies |
"human" or "mouse" – it will determine which CT marker database to use – there are some differences. |
naming_preference |
Once top CT markers are identified, naming_preferences will then extract CT markers within a more appropriate tissue type. |
rda_path |
Path to pre-computed cell-type .gmt files (rda objects). |
toSave |
If scMappR is allowed to write files and directories. |
This function inputs a Seurat object and uses the average normalized expression of each gene in each cluster to identify cell-types using the GSVA method.
List with the following elements:
cellMarker |
Most likely cell-types predicted from cellMarker database. |
panglao |
Most likely cell-types predicted from panglao database. |
avg_expression |
Average expression of each gene in each cell-type. |
1 2 3 4 5 6 7 8 | data(sm)
toProcess <- list(example = sm)
tst1 <- process_from_count(toProcess, "testProcess")
cellnames <- gsva_cellIdentify(tst1, theSpecies = "mouse",
naming_preference = "brain", rda_path = "")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.