cvCalcSC | R Documentation |
This function allows to calculate Intra-donor variations in single cell data over longitudinal timepoints. The coefficient of variation (CV=SD/mean) is calculated in average expression data in same donor/participant and corresponding user-defined group (like celltype, cluster) across longitudinal timepoints.
cvCalcSC( data_object, meanThreshold = NULL, cvThreshold = NULL, housekeeping_genes = NULL, cl = 2, fileName = NULL, filePATH = NULL )
data_object |
Input PALMO S4 object. Contains annotation table and expression matrix or data frame. Rows represent gene/proteins column represents participant samples (same as annotation table Sample column) |
meanThreshold |
Average expression threshold to filter lowly expressed genes Default is 0.1 (log2 scale) |
cvThreshold |
Coefficient of variation threshold to select variable and stable genes. Default is 5 for bulk data. Users can use 10-20 for single cell average expression data. |
housekeeping_genes |
Optional, vector of housekeeping genes. Default is c('ACTB', 'GAPDH') |
cl |
Number of clusters. Use nCores-1 to run parallel. Default 2 |
fileName |
User-defined file name, Default outputFile |
filePATH |
User-defined output directory PATH Default, current directory |
PALMO object with CV list
## Not run: palmo_obj=cvCalcSC(data_object=palmo_obj, meanThreshold=0.1, cvThreshold=5) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.