This function is used to perform Kolmogorv-Smirnov test on the
filtered sparse counts matrix from filter_counts to select genes
belonging to the family of ZINB distributions
ks_test(counts, cexpr, lib.size, formula = NULL, workers = NULL, seed = NULL)
| counts | A non-negative integer matrix of scRNA-seq filtered read counts
from |
|---|---|
| cexpr | A dataframe that contains the covariate values.
The rows of the dataframe are the corresponding samples/cells from the counts
matrix from |
| lib.size | A numeric vector that contains the total number of counts
per cell from the counts matrix from |
| formula | A regression formula to fit the covariates in the ZINB GLM. |
| workers | Number of workers to be used in parallel computation
using |
| seed | Seed number to be used in parallel computation
using |
List object containing the p-values from the KS test,