scaleSamples: scale all samples to equal number of sequence reads

View source: R/RepDaAnalysisFns.R

scaleSamplesR Documentation

scale all samples to equal number of sequence reads

Description

scale all samples to equal number of sequence reads

Usage

scaleSamples(repSeqObj, totalReads = 1e+05, resample = T,
  resampleSize = 3000, useProb = T)

Arguments

repSeqObj

is a repseq data 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

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.

Value

repSeq data Object containing normalized repertoire data after resampling


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