facet_msa: segment MSA

Description Usage Arguments Author(s) Examples

View source: R/facet_msa.R

Description

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

Usage

1
facet_msa(field)

Arguments

field

a numeric vector of the field size.

Author(s)

Lang Zhou

Examples

1
2
3
4
5
6
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)

Example output



ggmsa documentation built on Aug. 3, 2021, 9:06 a.m.