compute_insertions: Compute insertion size histogram

Description Usage Arguments Value

View source: R/rearr_stats.R

Description

Computes the distribution of insert sizes in various CDR3 regions: 'VD', 'DJ' or 'VJ'. In case metadata is provided, applicable insert regions/types are deduced from the list of chains present in data

Usage

1

Arguments

sample

clonotype table, imported using 'read_mixcr_dataset' or 'read_mixcr_sample' functions

metadata

metadata, a named list with chain identifiers stored under the 'chain' entry - a comma-separated list of chains such as 'TRA', 'TRB', etc is expected. If set to NA will assume all chains are present

Value

insert size table with unweighted 'freq.clonotypes' and weighted 'freq.reads' frequencies, unnormalized 'count.*' values are also provided


milaboratory/mirutil documentation built on May 20, 2019, 1:24 p.m.