Generate fasta format output
write.fasta(x, file = "", rowlength = 80, tolower = TRUE,
verbose = TRUE, APPEND = FALSE, depr = TRUE)
object of class chromR
name for output file
number of characters each row should not exceed
convert all characters to lowercase (T/F)
should verbose output be generated (T/F)
should data be appended to an existing file (T/F)
logical (T/F), this function has been deprecated, set to FALSE to override.
The function write_fasta takes an object of class chromR and writes it to a fasta.gz (gzipped text) format file. The sequence in the seq slot of the chromR object is used to fill in the invariant sites. The parameter 'tolower', when set to TRUE, converts all the characters in teh sequence to lower case. This is important because some software, such as ape::DNAbin, requires sequences to be in lower case.