write.DNAStringSet: Writes a sequence matrix to phylip format

View source: R/write.DNAStringSet.R

write.DNAStringSetR Documentation

Writes a sequence matrix to phylip format

Description

This function writes a Biostrings DNAStringSet object to a file. Currently, phylip and fasta formats are supported

Usage

write.DNAStringSet(x, format= c('phylip', 'fasta'), padding = 30,
                  filename = "DNAStringSetOut.phy",
                  fastaPrefix = ">")

Arguments

x

an object of class DNAStringSet

format

at this point, only fasta and phylip formats are supported

padding

total number of characters, including sequence title, to place before each sequence

filename

full name of file and path

fastaPrefix

prefix character to add to taxon label for fasta files

Value

At this point, returns a 0 to indicate successful completion

Author(s)

Andrew Hipp

See Also

rad2phy


andrew-hipp/RADami documentation built on Nov. 9, 2023, 5:40 p.m.