let2base: Finds the integer that represents the nucleotide

Description Usage Arguments Value Author(s)

Description

Returns an integer for G,A,T,G and NA for 'N'

Usage

1
let2base(letter, alph)

Arguments

letter

A single nucleotide, as a character.

alph

The alphabet we are using. A dataframe created using build_alphabet()

Value

An integer, or NA if the input is 'N'

Author(s)

Tom Mayo t.mayo@ed.ac.uk


TomMayo/kmermods documentation built on May 9, 2019, 4:53 p.m.