Learn R Programming

utr.annotation (version 1.0.4)

checkIfLostCodonAfterAlt: Check if the codon lost after alt.

Description

Check if the codon lost after alt.

Usage

checkIfLostCodonAfterAlt(variantsTable, colNameAfterAlt, patterns)

Arguments

variantsTable

variants table

colNameAfterAlt

the name of the codon column after alter, type of a string. For example, name of column for the stop codon sequence after alt

patterns

codon patterns, "ATG" for start codon, c("TAG", "TAA", "TGA") for stop codon

Value

A list containing TURE or FALSE or NA (if the codon sequence is NA). If colNameAfterAlt does not exist in the variantsTable, return NA