This function infers genes with differential biological variability in a cluster versus a background set of clusters on the basis of a Wilcoxon rank sum-test between cells in a cluster and in the background set.
diffNoisyGenesTB(
noise,
cl,
set,
bgr = NULL,
no_cores = 1,
minobs = 5,
ps = 0.1,
rseed = 17000
)
Data.frame with five columns:
Mean expression across clusters in set
.
Mean expression across clusters in bgr
(or all clusters not in set
).
Mean expression across clusters in set
and bgr
(or all clusters).
Average variability across clusters in set
.
Average variability across clusters in bgr
(or all clusters not in set
).
Average variability across clusters in set
and bgr
(or all clusters).
log2 fold change of variability between between clusters in set
and clusters in bgr
(or all clusters).
Banjamini-Hochberg corrected Wilcoxon rank sum test p-value for differential variability.
Rows are ordered by decreasing log2 fold change of variability.
List object with noise parameters returned by the compTBNoise
function.
List object with clustering information, returned by the graphCluster
function.
Postive integer number or vector of integers corresponding to valid cluster numbers. The function reports genes with differential variability in all
clusters contained in set
versus vlusters in bgr
.
Postive integer number or vector of integers corresponding to valid cluster numbers. Background set for comparison. The function reports genes
with differential variability in all clusters contained in set
compared to clusters in bgr
. Default is NULL
and bgr
equals the set of all clusters not in bgr
.
Positive integer number. Number of cores for multithreading. If set to NULL
then the number of available cores minus two is used. Default is NULL
.
Positive integer number. Only genes with at least minobs
neighbourhoods with non-zero biological noise levels in set
are included for the p-value computation. Otherwise, a p-value or 0.5 is reported. Default is 5.
Real number greater or equal to zero. A small random variable sampled from a uniform distribution in the interval [0,ps]
is added to the noise quantification to avoid inclusion of genes with small noise differences. Default is 0.1.
Integer number. Random seed to enforce reproducible results. Default is 17000.
if (FALSE) {
res <- pruneKnn(intestinalDataSmall,knn=10,alpha=1,no_cores=1,FSelect=FALSE)
noise <- compTBNoise(res,intestinalDataSmall,pvalue=0.01,genes = NULL,no_cores=1)
cl <- graphCluster(res,pvalue=0.01)
ngenes <- diffNoisyGenesTB(noise,cl,c(1,2),no_cores=1)
}
Run the code above in your browser using DataLab