write.tnt: Write DNA data in TNT format

Description Usage Arguments Author(s) See Also Examples

View source: R/write.tnt.R

Description

Write DNA data in TNT format for one or multiple genes

Usage

1
write.tnt(genes, file = NULL, format = "dna")

Arguments

genes

A list object of multiple alignments (DNAbin class) or a single DNAbin class

file

name of the file. When a list object is used, the file param will be appended to the respective name of each gene.

Author(s)

Omar Daniel Leon-Alvarado leon.alvarado12@gmail.com

See Also

read.multiGenes

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(alignTools)

data(Procyonidae)

genes <- multiGenBank(Procyonidae, TRUE, FALSE)
alignment <- multiMuscle(genes, FALSE)

#See the  output
write.tnt(alignment, file="Procyonidae")

write.tnt(alignment[[1]])

oleon12/alignTools documentation built on March 17, 2021, 4:57 p.m.