View source: R/RepDaAnalysisFns.R
sampleFromPooled | R Documentation |
Pool and resample samples to create reference/background repertoires and return only CDR3s, normalizes samples to equal number of sequence reads
sampleFromPooled(repSeqObj, nClones, cType = "AA", useProb = T)
repSeqObj |
is an object containing all repertoire sample data |
nClones |
number of CDR3 sequences to randomly draw |
cType |
the type of CDR3 sequence to return for the drawn clones, either AA or NT |
useProb |
a boolean to indicate whether the resampling should be done probablistically or not. |
returns a vector of CDR3 sequences with size nClones that is randomly sampled from the pooled datasets of all repseq samples in repSeqObj
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.