seqToMat: Convert sequences to a numbered matrix

Description Usage Arguments Value Author(s) Examples

View source: R/infinite.R

Description

Convert sequences to a numbered matrix

Usage

1
seqToMat(seqs, bases = c("A", "C", "G", "T"))

Arguments

seqs

a character vector of sequences

bases

the potential characters in the sequences in the order to be numbered

Value

3-d logical array with the first dimension being sequence, second position and third base

Author(s)

Scott Sherrill-Mix [email protected]

Examples

1
seqToMat(c('AAAT','ATCG'))

sherrillmix/infiniter documentation built on May 26, 2017, 8:08 a.m.