Learn R Programming

treedata.table (version 0.1.0)

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.

Copy Link

Version

Install

install.packages('treedata.table')

Monthly Downloads

19

Version

0.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Cristian Roman-Palacios

Last Published

September 30th, 2020

Functions in treedata.table (0.1.0)

[.treedata.table

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

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

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

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

Returning a named vector from a treedata.table object
droptreedata.table

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

Print method treedata.table objects
tdt

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

Return the first part of an treedata.table object
summary.treedata.table

Summarizing treedata.table objects
hasNames

Row and column name check
tail.treedata.table

Return the last part of an treedata.table object
filterMatrix

Filter a character matrix, returning either all continuous or all discrete characters
forceNames

Force names for rows, columns, or both
detectAllCharacters

Apply detectCharacterType over an entire matrix
anolis

Anole data
detectCharacterType

Function to detect whether a character is continuous or discrete