mega: Read and Write MEGA
Description
Read and write MEGA formatted files.Usage
read.mega(file)write.mega(g, file = NULL, title = NULL, line.width = 60, locus = 1)
Arguments
file
a MEGA-formatted file of sequences.
title
title for data in file.
line.width
width of sequence lines.
locus
number or name of locus to write.
Value
- for read.mega, a list of:
ll{titletitle of MEGA file.dna.seqa list of DNA sequences.
}