getMutCodonPos: Get the codon position mutated to yield a given missense...

Description Usage Arguments Value Examples

View source: R/genetic_code_sav.R

Description

Get the codon position mutated to yield a given missense substitution

Usage

1
getMutCodonPos(wt_c, mut_c)

Arguments

wt_c

wild-type codon

mut_c

mutant codon

Value

A integer with value of 1, 2 or 3, corresponding to the position within the codon which is mutated from wt_c to mut_c.

Examples

1
2
3
getMutCodonPos( "ATG", "CTG" ) # return 1
getMutCodonPos( "ATG", "ACG" ) # return 2
getMutCodonPos( "ATG", "ATA" ) # return 3

josef0731/CDSMutSig documentation built on Dec. 21, 2021, 2:19 a.m.