View source: R/functions-core.R
| removeTinySamples | R Documentation | 
Removes samples from Phemd that have fewer cells than min_sz
removeTinySamples(obj, min_sz = 20)
| obj | 'Phemd' object containing raw expression data and associated metadata | 
| min_sz | Minimum number of cells in each sample to be retained | 
Note: If used, this function must be called before (and not after) the aggregateSamples function is called
'Phemd' object containing raw multi-sample expression data and associated metadata (same as input minus removed samples)
my_phemdObj <- createDataObj(all_expn_data, all_genes, as.character(snames_data))
my_phemdObj_lg <- removeTinySamples(my_phemdObj, 10) #removes samples with fewer than 10 cells
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.