Learn R Programming

ggmsa (version 1.0.2)

facet_msa: segment MSA

Description

The MSA would be plot in a field that you set.

Usage

facet_msa(field)

Arguments

field

a numeric vector of the field size.

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab