Learn R Programming

seqinr (version 3.4-5)

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:

Compo

A factor giving the amino acid counts.

Prop

A list giving the percentage of each physico-chemical classes (Tiny, Small, Aliphatic, Aromatic, Non-polar, Polar, Charged, Positive, Negative).

Pi

The theoretical isoelectric point

References

citation("seqinr")

See Also

computePI, SEQINR.UTIL, SeqFastaAA

Examples

Run this code
# NOT RUN {
  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