View source: R/f_score_ctgenes_U.R
f_score_ctgenes_U | R Documentation |
Calculate cell type score
f_score_ctgenes_U( sce, gset, count_data = "normcounts", gene_symbol = "SYMBOL", min_genes = 5, verbose = 0 )
sce |
A SingleCellExperiment object containing the expression profiles of the single cell analysis. |
gset |
Marker gene list for all cell types. |
count_data |
Assay name in the SingleCellExperiment object containing the count data. |
gene_symbol |
Variable name in the row data of the SingleCellExperiment object containing the gene names. |
min_genes |
Minimum number of genes. |
verbose |
Level of verbosity. Zero means silent, one makes a verbose output. |
Matrix containing the cell type scores. The rows represent the cell types, whereas the columns represent the samples.
data("test_sce_data") gset <- list(cell_type1 = c("CD79A", "TCL1A", "VPREB3"), cell_type2 = c("FCER1A", "CLEC10A", "ENHO")) f_score_ctgenes_U(test_sce_data[,1:3], gset, count_data = "normcounts", gene_symbol = "SYMBOL", min_genes = 3, verbose = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.