de_param: Set differential expression (DE) threshold for genes and...

Description Usage Arguments

View source: R/de.genes.R


Set differential expression (DE) threshold for genes and clusters.


de_param( = 1, = 0.01, = 1, = 0.5, = NULL, = 0.7, = 100, min.cells = 4)


Threshold on normalized gene expression to determiend whether a gene is detected in a cell. Default value 1. Users can specifiy different thresholds for different genes if necessary by using a vector with genes as names.

Threshold on adjusted Pvalue for limma. Default vaue is 0.01.

Threshold on log2 fold change for limma. Default value is 1.

For every pair of clusters (one as foreground, and the other as background), we define q1, and q2 as the proportion of cells detecting the gene in the foregound and background cluster respectively. Up reguated genes should have q1 greater than

Up regualted genes should have q2 smaller than is NULL by default.

Threshold on scaled proportion difference, defined as abs(q1 - q2)/max(q1, q2). DE genes should have differences greater than Default 0.7

To determine whether two clusters are seperable based on DE genes, we define de.score as the sum of -log10(adjusted Pvalub) for all DE genes. Each gene contributes at most 20 towards the sum. All clusters should have pairwise de.score greater than

AllenInstitute/scrattch.hicat documentation built on May 5, 2019, 1:32 a.m.