refseq_AAlen | R Documentation |
refseq_AAlen()
Returns the amino acid length from a single protein accession.
Depending on the function, available accessions in refseqR
include RefSeq models with the prefixes XM_ (mRNA), XR_ (non-coding RNA), and XP_ (protein), as well as subsequently curated RefSeq records with NM_, NR_, or NP_ accession prefixes.
refseq_AAlen(protein)
protein |
A character string of the protein id. |
A numeric value representing the aa length of the protein
.
Jose V. Die
refseq_RNA2protein
to obtain the protein ids encoded by a set of transcript ids.
# Get the amino acid lengths from a set of protein accessions
protein = c("XP_004487758", "XP_004488550")
sapply(protein, function(x) refseq_AAlen(x), USE.NAMES = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.