View source: R/visualize_MSA_using_ggmsa.R
visualize_MSA_using_ggmsa | R Documentation |
A function to quickly visualize the alignment generated by HMMER using ggmsa.
visualize_MSA_using_ggmsa( msa, start = NULL, end = NULL, color_scheme = "Chemistry_AA", max_positions_per_row = NULL, alignment_index = NULL, format = "fasta" )
msa |
An AAMultipleAlignment, an AAStringSet or a character vector of
one with the file path of a fasta file. In case of using a file, take into
account the |
start |
A numeric vector of one. Start position to plot. |
end |
A numeric vector of one. End position to plot. |
color_scheme |
A character vector of one. Frequently used values are: 'Clustal', 'Chemistry_AA', 'Shapely_AA', 'Zappo_AA', 'Taylor_AA', 'LETTER', 'CN6', 'Chemistry_NT', 'Shapely_NT', 'Zappo_NT' or 'Taylor_NT'. |
max_positions_per_row |
A numeric vector of one. Maximum number of positions in each row |
alignment_index |
A numeric vector with the desired sequences to plot or a vector of characters with their names. We recommend no more than 15. |
format |
A character vector of one. The format of the alignment file, if used. |
An aplot
. It can be modified using the rest of the ggmsa
library functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.