annotSite annotates modified sites as their residues and locations.
Usage
annotSite(aaIndex, residue, lenIndex = NULL)
Arguments
- aaIndex
An integer vector. Location of the sites.
- residue
A string vector. Amino acid residue.
- lenIndex
An integer. Default is NULL
Examples
annotSite(10, "K")
#> [1] "K10"
annotSite(10, "K", 3L)
#> [1] "K010"