View source: R/cvSCsampleprofile.R
cvSCsampleprofile | R Documentation |
This function allows to calculate Intra-donor variations in single cell data at sample level over longitudinal timepoints and visualize in a CV vs Mean plot. Plots stored in output directory.
cvSCsampleprofile( data_object, meanThreshold = NULL, cvThreshold = NULL, cl = 2, plot_log10 = FALSE, 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 10 for single cell RNA (100*SD/mean) |
cl |
Number of clusters. Use nCores-1 to run parallel. Default 2 |
plot_log10 |
Optional, Plot CV vs Mean on log10 scale. Default FALSE |
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 <- cvSCsampleprofile(data_object=palmo_obj, housekeeping_genes=c('GAPDH', 'ACTB'), fileName='scrna') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.