read.nexus.alignment: Read a Nexus alignment file

Description Usage Arguments Value Examples

Description

This function reads a nexus alignment file and converts it to an easy-to-read data frame object.

Usage

1

Arguments

file

The name of the file to be read. The file name should be provided within quotes, either as an absolute file path, or a relative file path given the current working directory, getwd().

Value

Returns a data frame with taxon names as row names and a column for each site in the alignment.

Examples

1

keverson25/DNAplyR documentation built on May 5, 2019, 7:57 p.m.