| res_to_poi | R Documentation | 
This function converts an residue position to a position in the frame of the alignment.
res_to_poi(alignment, res)
alignment | 
 An alignment.  | 
res | 
 A residue position.  | 
An integer vector of alignment positions corresponding to residue position in the reference sequence.
align_ATM <- read_alignment('ATM')
align_ATM[, 1:6]
# Convert the positions of the first five residues to alignment positions
res_to_poi(align_ATM, 1:5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.