Learn R Programming

g3viz (version 1.2.0)

parseProteinChange: Extract amino_acid_position from Protein_Change

Description

Parse amino_acid_position according to HGVSp_short format.
For example, p.Q16Rfs*28, amino-acid position is 16. See http://varnomen.hgvs.org/recommendations/protein/ or https://www.hgvs.org/mutnomen/recs-prot.html.

Usage

parseProteinChange(protein.change.vec, mutation.class.vec)

Value

a vector of parsed amino-acid position

Arguments

protein.change.vec

a vector of strings with protein change information, usually in HGVSp_short format.

mutation.class.vec

a vector of strings with mutation class (or so-called variant classification) information.