Learn R Programming

RADami (version 1.1-2)

write.DNAStringSet: 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

See Also

rad2phy