View source: R/Basic_Functions.R
generateBulk_norep | R Documentation |
Construct Pseudo bulk samples by random sampled number of cells per subject, but based on the actual numbers.
generateBulk_norep( eset, ct.varname, sample, disease = NULL, ct.sub, prop_mat = NULL, nbulk = 10, samplewithRep = F )
eset |
ExpressionSet object for single cells |
ct.varname |
variable name for 'cell types' |
sample |
variable name for subject/samples |
disease |
indicate the health condition of subjects |
ct.sub |
a subset of cell types that are selected to construct pseudo bulk samples. If NULL, then all cell types are used. |
prop_mat |
manually input the cell-type proportion for pseudo bulk samples |
nbulk |
number of pseudo bulk samples to be constructed |
samplewithRep |
logical, randomly sample single cells with replacement. Default is F. |
pseudo bulk samples ExpressionSet, and actual cell-type proportions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.