locateMod locates modified sites with a peptide.
locateMod(peptide, aaStart, residueSymbol)
| peptide | A string. Peptide sequence. |
|---|---|
| aaStart | An integer. Starting index of the peptide. |
| residueSymbol | A string. Modification residue and denoted symbol. |
A string.
locateMod("P*EP*TIDE", 3, "\\*")#> [1] 4 6