View source: R/RepDaAnalysisFns.R
resampleReferenceSamples | R Documentation |
Pool and resample samples to create reference/background repertoires, normalize samples to equal number of sequence reads
resampleReferenceSamples(repSeqObj, totalReads = 1e+05, resample = T, resampleSize = 1000, useProb = T)
repSeqObj |
is an object containing all repertoire sample data |
totalReads |
the total size of reads per sample to scale our data to. All repertoires are scaled to 100k reads by default. |
resample |
a boolean argument to decide whether to resample repertoires, needed when data is too big, default is True. If False, resamples as big as the original datasets are drawn from the pooled repertoire dataset |
resampleSize |
Maximum possible number of clonotype reads repertoires will be resampled to, default is 1000. |
useProb |
a boolean to indicate whether the resampling should be done probablistically or not. |
repSeq data object created by downsampling after pooling all datasets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.