Learn R Programming

seqinr (version 3.1-2)

AAstat: To Get Some Protein Statistics

Description

Returns simple protein sequence information including the number of residues, the percentage physico-chemical classes and the theoretical isoelectric point.

Usage

AAstat(seq, plot = TRUE)

Arguments

seq
a protein sequence as a vector of upper-case chars
plot
if TRUE, plots the presence of residues splited by physico-chemical classes along the sequence.

Value

  • A list with the three following components:
  • CompoA factor giving the amino acid counts.
  • PropA list giving the percentage of each physico-chemical classes (Tiny, Small, Aliphatic, Aromatic, Non-polar, Polar, Charged, Positive, Negative).
  • PiThe theoretical isoelectric point

References

citation("seqinr")

See Also

computePI, SEQINR.UTIL, SeqFastaAA

Examples

Run this code
seqAA <- read.fasta(file = system.file("sequences/seqAA.fasta", package = "seqinr"),
   seqtype = "AA")
  AAstat(seqAA[[1]])

Run the code above in your browser using DataLab