f_score_profile_cor {scROSHI}R Documentation

Calculate cell type score: U-test

Description

Calculate cell type score: U-test

Usage

f_score_profile_cor(sce, lprof, min_genes = 5, verbose = 0)

Arguments

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.

Value

Matrix containing the cell type scores.

Examples


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)


[Package scROSHI version 1.0.0.0 Index]