get.deletions.alpha: Compute the number of deletions in MiTCR data frames.

Description Usage Arguments Details Value Examples

Description

Get deletions for VD, DJ, 5'D and 3'D ends and two columns with total deletions for VD/DJ and 5'D/3'D deletions for the given mitcr data.frame with 0-indexes columns. Cases, in which deletions cannot be determined, will have -1 in their cell.

Usage

1
2
3
get.deletions.alpha(.data, .Vs = segments$TRAV, .Js = segments$TRAJ)

get.deletions.beta(.data, .Vs = segments$TRBV, .Js = segments$TRBJ, .Ds = segments$TRBD)

Arguments

.data

Mitcr data.frame.

.Vs

Table of V segments; must have 'V.segment' and 'Nucleotide.sequence' columns.

.Js

Table of J segments; must have 'J.segment' and 'Nucleotide.sequence' columns.

.Ds

Table of D segments; must have 'D.segment' and 'Nucleotide.sequence' columns.

Details

By default, *.table parameters are taken from the segments data frame which can be loaded to your R environment with data(segments). Data for segments has been taken from IMGT.

Value

Mitcr data.frame with 3 (for alpha chains) or 5 (for beta chains) new columns for deletions.

Examples

1
2
3
4
5
6
## Not run: 
data(segments)
immdata <- get.deletions.beta(.data)
immdata.prob <- tcr.prob.df(immdata)

## End(Not run)

imminfo/tcr documentation built on June 13, 2020, 7:01 a.m.