facet_msa {ggmsa} | R Documentation

## 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.

### Value

ggplot layers

### Author(s)

Lang Zhou

### Examples

    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)

[Package ggmsa version 1.0.0 Index]