sampleWithFeatuersFromPooled: Pool and resample samples to create reference/background...

View source: R/RepDaAnalysisFns.R

sampleWithFeatuersFromPooledR Documentation

Pool and resample samples to create reference/background repertoires, normalizes samples to equal number of sequence reads

Description

Pool and resample samples to create reference/background repertoires, normalizes samples to equal number of sequence reads

Usage

sampleWithFeatuersFromPooled(repSeqObj, nClones, useProb = T)

Arguments

repSeqObj

is an object containing all repertoire sample data

nClones

number of CDR3 sequences to randomly draw

useProb

a boolean to indicate whether the resampling should be done probablistically or not.

Value

returns a single repseq data of randomly selected CDR3 sequences and their associated features, that is randomly sampled from the pooled datasets of all repseq samples in repSeqObj


dyohanne/RepAn documentation built on Feb. 3, 2023, 2:41 p.m.