AAToInt: AA, DNA, RNA character set

Description Usage Arguments Details Value Author(s) Examples

Description

Some AA, DNA, RNA character set defined in this package and functions to convert them into integers.

Usage

1
AAToInt(AA)

Arguments

AA

A vector of character.

Details

Each AA is converted to the position of that AA in AACharacterSet.

Value

A integer vector.

Author(s)

Ge Tan

Examples

1
2
3
4
5
6
7
  library(seqinr)
  fasta <- read.fasta(file.path(system.file("extdata", package="TKF"),
                      "pair1.fasta"),
                      seqtype="AA", set.attributes=FALSE)
  AAToInt(fasta[[1]])
  
  AACharacterSet  

TKF documentation built on May 2, 2019, 7:59 a.m.

Related to AAToInt in TKF...