mega | R Documentation |
Read and write MEGA formatted files.
read.mega(file)
write.mega(
g,
file = NULL,
label = NULL,
line.width = 60,
locus = 1,
as.haplotypes = TRUE
)
file |
a MEGA-formatted file of sequences. |
g |
a gtypes object. |
label |
label for MEGA filename (.meg). If |
line.width |
width of sequence lines. |
locus |
number or name of locus to write. |
as.haplotypes |
output sequences as haplotypes? If |
for read.mega
, a list of:
title of MEGA file
DNA sequences in DNAbin
format
Eric Archer eric.archer@noaa.gov
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.