read.tree.file: Function to read phylogenetic tree in Newick file

View source: R/load.phylogenetic.tree.R

read.tree.fileR Documentation

Function to read phylogenetic tree in Newick file

Description

This function reads and process a user specified phylogenetic tree file in Newick format.

Usage

read.tree.file(tree.file.name)

Arguments

tree.file.name

Path to the input phylogenetic tree file in Newick format.

Value

A data frame containing selected metadata columns and strain names in the phylogenetic tree.

Author(s)

Chrispin Chaguza, Chrispin.Chaguza@gmail.com

References

https://github.com/ChrispinChaguza/RCandy

Examples

## Not run: 
Load phylogenetic tree file.

tree.file<-system.file("extdata", "ST320.final_tree.tre", package = "RCandy",mustWork = TRUE)

read.tree.file(tree.file.name=tree.file)

## End(Not run)


ChrispinChaguza/RCandy documentation built on June 23, 2022, 1:03 p.m.