NexIntoFas: Utility for turning TOAST superalign.txt into Nexus file

View source: R/NexIntoFas.R

NexIntoFasR Documentation

Utility for turning TOAST superalign.txt into Nexus file

Description

Utility for turning a nexus file into fasta file in TOAST

Usage

NexIntoFas(nexusfile= myphylipdata, filename="file_name",externalfile=TRUE)

Arguments

filename

defaults to superalign.txt assuming it is in the working directory. A full path can be specified

Value

This function uses an aligned phylip file that is either in your working directory externalfile=TRUE or that has been read into memory, externalfile=false. This then converts it to a fasta format writing to file with user specified filename

Author(s)

Alex Dornburg, dornburgalex@gmail.com

Examples

NexIntoFas(nexusfile= myphylipdata, filename="file_name",externalfile=TRUE)

carolinafishes/toast documentation built on June 28, 2023, 8:10 p.m.