tags.into.df: Given a 'phylo' object and a data frame, transform all the...

Description Usage Arguments Value

Description

This function is similar to the tree.as.data.frame method, but not exactly the same. It is used internally by the tree.layout function.

Usage

1
  tags.into.df(phylo, df)

Arguments

phylo,

input phylo object

df,

data.frame with a 'node' column corresponding to integer indices of tree nodes.

Value

df, a copy of the input data frame, with tags added as new columns


gjuggler/ggphylo documentation built on May 17, 2019, 6:05 a.m.