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