tidy_msa.Rd
Convert msa file/object to tidy data frame.
tidy_msa(msa, start = NULL, end = NULL)
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 |
tibble data frame
Guangchuang Yu
fasta <- system.file("extdata", "sample.fasta", package = "ggmsa") aln <- tidy_msa(msa = fasta, start = 10, end = 100)