Read and write MEGA formatted files.
read.mega(file)write.mega(g, file = NULL, label = NULL, line.width = 60, locus = 1)
a MEGA-formatted file of sequences.
label for MEGA filename (.meg). If NULL
, the
gtypes description is used if present.
width of sequence lines.
number or name of locus to write.
for read.mega
, a list of:
title of MEGA file
DNA sequences in DNAbin
format
Sudhir Kumar, Glen Stecher, and Koichiro Tamura (2015) MEGA7: Molecular Evolutionary Genetics Analysis version 7.0. Molecular Biology and Evolution (submitted). Available at: http://www.megasoftware.net