mut.type: Get mutation type (transition or transversion)

Description Usage Arguments Details Value Note

View source: R/MADGiC.R

Description

Given a sequence of two characters, the function returns whether the mutation is a transition (1) or a transversion (2)

Usage

1

Arguments

x

a character of length two where each character is either "A","T","G", or "C". For example, x could be "AG". 12 possible two-letter codes.

Details

see mut.type.converter

Value

an integer indicator of mutation type, where 1=transition and 2=transversion. For example x="AG" would return 1 (for transition).

Note

This internal function is not intended to be called by the user.


kdkorthauer/MADGiC documentation built on June 13, 2020, 1:35 p.m.