char2int: Character to integer.

Description Usage Arguments Examples

Description

Convert character coded nucleotide sequences to a list of integer vectors. A, C, G, and T are coded as 0, 1, 2, and 3, respectively.

Usage

1

Arguments

str

a character vector of sequences.

Examples

1
char2int("ACTGCTAG")

needleman.wunsch documentation built on May 2, 2019, 4:43 p.m.