Learn R Programming

treedata.table (version 0.1.1)

Manipulation of Matched Phylogenies and Data using 'data.table'

Description

An implementation that combines trait data and a phylogenetic tree (or trees) into a single object of class 'treedata.table'. The resulting object can be easily manipulated to simultaneously change the trait- and tree-level sampling. Currently implemented functions allow users to use a 'data.table' syntax when performing operations on the trait dataset within the 'treedata.table' object. For more details see Roman-Palacios et al. (2021) .

Copy Link

Version

Install

install.packages('treedata.table')

Monthly Downloads

47

Version

0.1.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Cristian Roman-Palacios

Last Published

October 9th, 2025

Functions in treedata.table (0.1.1)

hasNames

Row and column name check
detectCharacterType

Function to detect whether a character is continuous or discrete
forceNames

Force names for rows, columns, or both
droptreedata.table

Function dropping taxa from an object of class treedata.table
detectAllCharacters

Apply detectCharacterType over an entire matrix
filterMatrix

Filter a character matrix, returning either all continuous or all discrete characters
as.treedata.table

Combine tree (or set of trees) and data.frame into a single treedata.table object
head.treedata.table

Return the first part of an treedata.table object
extractVector

Returning a named vector from a treedata.table object
anolis

Anole data
pulltreedata.table

Returns the character matrix or phylogeny from a treedata.table object
summary.treedata.table

Summarizing treedata.table objects
tail.treedata.table

Return the last part of an treedata.table object
print.treedata.table

Print method treedata.table objects
tdt

Run a function on a treedata.table object
[[.treedata.table

Function for extract a named vector from an object of class treedata.table
[.treedata.table

Function for performing data.table operations on an object of class treedata.table