get_de_genes: Find differentially expressed genes

Description Usage Arguments Value Examples

View source: R/ShinyFunctions.R

Description

Differential expression is calculated using the non-parametric Kruskal-Wallis test. A significant p-value indicates that gene expression in at least one cluster stochastically dominates one other cluster. Note that the calculation of differential expression after clustering can introduce a bias in the distribution of p-values, and thus we advise to use the p-values for ranking the genes only.

Usage

1
get_de_genes(dataset, labels)

Arguments

dataset

expression matrix

labels

cell labels corresponding to the columns of the expression matrix

Value

a numeric vector containing the differentially expressed genes and correspoding p-values

Examples

1
2
d <- get_de_genes(yan[1:10,], as.numeric(ann[,1]))
head(d)

SC3 documentation built on Nov. 8, 2020, 7:52 p.m.