Canonicalize1ID: Given a single insertion or deletion in context categorize...

Description Usage Arguments Value

View source: R/ID_functions.R

Description

Given a single insertion or deletion in context categorize it.

Usage

1
Canonicalize1ID(context, ref, alt, pos, trace = 0)

Arguments

context

Ample surrounding sequence on each side of the insertion or deletion.

ref

The reference allele (vector of length 1)

alt

The alternative allele (vector of length 1)

pos

The position of ins.or.del.seq in context.

trace

If > 0, then generate messages tracing how the computation is carried out.

Value

A string that is the canonical representation of the type of the given insertion or deletion. Return NA and raise a warning if there is an un-normalized representation of the deletion of a repeat unit. See FindDelMH for details. (This seems to be very rare.)


ICAMS documentation built on April 3, 2021, 5:07 p.m.