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  


Search within the TKF package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.