| diffNoisyGenesTB {RaceID} | R Documentation | 
Function for extracting genes with differential biological variability in a cluster
Description
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.
Usage
diffNoisyGenesTB(
  noise,
  cl,
  set,
  bgr = NULL,
  no_cores = 1,
  minobs = 5,
  ps = 0.1,
  rseed = 17000
)
Arguments
| noise | List object with noise parameters returned by the  | 
| cl | List object with clustering information, returned by the  | 
| set | Postive integer number or vector of integers corresponding to valid cluster numbers. The function reports genes with differential variability in all
clusters contained 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  | 
| no_cores | Positive integer number. Number of cores for multithreading. If set to  | 
| minobs | Positive integer number. Only genes with at least  | 
| ps | Real number greater or equal to zero. A small random variable sampled from a uniform distribution in the interval  | 
| rseed | Integer number. Random seed to enforce reproducible results. Default is 17000. | 
Value
Data.frame with five columns:
| mu.set |  Mean expression across clusters in  | 
| mu.bgr |  Mean expression across clusters in  | 
| mu.all |  Mean expression across clusters in  | 
| eps.set |  Average variability across clusters in  | 
| eps.bgr |  Average variability across clusters in  | 
| eps.all |  Average variability across clusters in  | 
| log2FC | log2 fold change of variability between between clusters in  | 
| pvalue | Banjamini-Hochberg corrected Wilcoxon rank sum test p-value for differential variability. | 
Rows are ordered by decreasing log2 fold change of variability.
Examples
## Not run: 
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)
## End(Not run)