facet_msa | R Documentation |
The MSA would be plot in a field that you set.
facet_msa(field)
field |
a numeric vector of the field size. |
ggplot layers
Lang Zhou
library(ggplot2)
f <- system.file("extdata/sample.fasta", package="ggmsa")
# 2 fields
ggmsa(f, end = 120, font = NULL, color="Chemistry_AA") +
facet_msa(field = 60)
# 3 fields
ggmsa(f, end = 120, font = NULL, color="Chemistry_AA") +
facet_msa(field = 40)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.