View source: R/annotate_peptides.R
annotate_peptides | R Documentation |
Annotate peptides based on their enzyme specificity and position within protein sequence.
annotate_peptides(
peptide2protein,
fasta,
decoy_tag = "^rev",
specificity = "R|K"
)
peptide2protein |
A data frame with at least two columns: 'Peptide' (peptide sequence to annotate) and 'Genes' (Uniprot ID of associated protein). |
fasta |
A list of identified protein sequences, at least matching the ones present in the 'peptide2protein' data frame. This list should should be loaded into R with the 'read.fasta' function from the 'seqinr' package. You need to set the argument as.string=TRUE. |
decoy_tag |
A string with the tag of the decoy sequences. |
specificity |
A string defining the enzyme specificity. |
a data frame with annotation information of the input peptides.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.