writePHYLIPmatrix: Create a PHYLIP-formatted distance matrix from the output of...

View source: R/phylo__writePHYLIPmatrix.R

writePHYLIPmatrixR Documentation

Create a PHYLIP-formatted distance matrix from the output of function makeFastANIDistMatrix

Description

This function takes as input a square matrix and write a PHYLIP-formatted matrix file. See http://evolution.genetics.washington.edu/phylip/doc/distance.html for an example of the format.

Usage

writePHYLIPmatrix(M, f)

Arguments

M

The distance matrix with row and column names

f

Path of the output file

Author(s)

Yu Wan (wanyuac@126.com)


wanyuac/handyR documentation built on June 10, 2024, 1:24 a.m.