tidy_msa {ggmsa} | R Documentation

## tidy_msa

### Description

Convert msa file/object to tidy data frame.

### Usage

    tidy_msa(msa, start = NULL, end = NULL)

### Arguments

`msa` | multiple sequence alignment file or sequence object in DNAStringSet, RNAStringSet, AAStringSet, BStringSet, DNAMultipleAlignment, RNAMultipleAlignment, AAMultipleAlignment, DNAbin or AAbin
`start` | start position to extract subset of alignment
`end` | end position to extract subset of alignemnt

### Value

tibble data frame

### Author(s)

Guangchuang Yu

### Examples

    fasta <- system.file("extdata", "sample.fasta", package = "ggmsa")
    aln <- tidy_msa(msa = fasta, start = 10, end = 100)

[Package ggmsa version 1.0.0 Index]