isIndel: Determines whether a variant is a substitution or an indel

Description Usage Arguments

Description

Given ref and alt alleles, this function returns a logical vector describing whether or not the variants represent indels. The function regards entries like rb="X" ab="Y" as not an indel. The function regards rb="X" and ab="Y,Z" as not an indel. Other types of ref/alt combinations are reported as indels.

Usage

1
isIndel(rb, ab)

Arguments

rb

vector of reference bases

ab

vector of alternative bases


tkonopka/RGeneticThesaurus documentation built on May 31, 2019, 3:44 p.m.