find_peptide | R Documentation |
The position of the given peptide sequence is searched within the given protein sequence. In addition the last amino acid of the peptide and the amino acid right before are reported.
find_peptide(data, protein_sequence, peptide_sequence)
data |
a data frame that contains at least the protein and peptide sequence. |
protein_sequence |
a character column in the |
peptide_sequence |
a character column in the |
A data frame that contains the input data and four additional columns with peptide start and end position, the last amino acid and the amino acid before the peptide.
# Create example data
data <- data.frame(
protein_sequence = c("abcdefg"),
peptide_sequence = c("cde")
)
# Find peptide
find_peptide(
data = data,
protein_sequence = protein_sequence,
peptide_sequence = peptide_sequence
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.