get_sequence.RdGet the amino acid sequence around a PTM. Will return NA if peptide maps to multiple proteins or has multiple PTMs. If padding extends outside the protein AA sequence, padding will be extended with '_'.
get_sequence(proteome, protein, ptm_position, pad = 7)XStringSet as generated by Biostrings::readAAStringSet
character protein ID
numeric position of the PTM in the protein
numeric Number of amino acids around PTM
character PSM-centered amino acid sequence