View source: R/f_score_profile_cor.R
f_score_profile_cor | R Documentation |
Calculate cell type score: U-test
f_score_profile_cor(sce, lprof, min_genes = 5, verbose = 0)
sce |
A SingleCellExperiment object containing the expression profiles of the single cell analysis. |
lprof |
List of profiles (named expression vectors). |
min_genes |
Minimum number of genes. |
verbose |
Level of verbosity. Zero means silent, one makes a verbose output. |
Matrix containing the cell type scores.
data("test_sce_data") set.seed(123) prof1 <- rpois(n = 20, lambda = 3) names(prof1) <- rownames(test_sce_data)[51:70] prof2 <- rpois(n = 20, lambda = 5) names(prof2) <- rownames(test_sce_data)[71:90] lprof <- list(prof1 = prof1, prof2 = prof2) f_score_profile_cor(test_sce_data[,1:3], lprof, min_genes = 5, verbose = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.