reorder_data: Re-order the dataset to follow the tree

View source: R/reorder_data.r

reorder_dataR Documentation

Re-order the dataset to follow the tree

Description

This function reorders rows in a data frame to follow the order of tree tip labels

Usage

reorder_data(data, tree)

Arguments

data

A data frame

tree

An object of the class phylo

Value

This function returns a re-ordered data frame.

Author(s)

Kevin Surya


suryakevin/drugcandy documentation built on May 6, 2022, 6:37 p.m.