View source: R/gsva_cellIdentify.R
gsva_cellIdentify | R Documentation |
This function computes the mean expression of every cell-type before predicting the most likely cell-type using the GSVA method.
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 species cell-type markers will originate from. |
naming_preference |
Once top cell-type 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. |
data(sm)
toProcess <- list(example = sm)
tst1 <- process_from_count(countmat_list = toProcess,name = "testProcess",
theSpecies = "mouse")
cellnames <- gsva_cellIdentify(pbmc = 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.