refseq_RNA2protein function

Get the protein accession from the transcript accession

Get the protein accession from the transcript accession

refseq_RNA2protein() Returns the protein accession from a single transcript 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_RNA2protein(transcript)

Arguments

  • transcript: A character string of the protein accession.

Returns

A character vector containing the protein id encoded by the mRNA especified as transcript.

Examples

## Not run: # Get the protein id from a single transcript accession transcript <- "XM_004487701" refseq_RNA2protein(transcript) # Get the protein ids from a set of transcript accessions transcript = c("XM_004487701", "XM_004488493") sapply(transcript, function(x) refseq_RNA2protein(x), USE.NAMES = FALSE) ## End(Not run)

See Also

refseq_protein2RNA to obtain the transcript ids that encode a set of proteins ids.

Author(s)

Jose V. Die

  • Maintainer: Jose V. Die
  • License: MIT + file LICENSE
  • Last published: 2024-10-30