Package: phylobase 0.8.12

phylobase: Base Package for Phylogenetic Structures and Comparative Data

Provides a base S4 class for comparative methods, incorporating one or more trees and trait data.

Authors:R Hackathon et al.

phylobase_0.8.12.tar.gz
phylobase_0.8.12.zip(r-4.5)phylobase_0.8.12.zip(r-4.4)phylobase_0.8.12.zip(r-4.3)
phylobase_0.8.12.tgz(r-4.4-x86_64)phylobase_0.8.12.tgz(r-4.4-arm64)phylobase_0.8.12.tgz(r-4.3-x86_64)phylobase_0.8.12.tgz(r-4.3-arm64)
phylobase_0.8.12.tar.gz(r-4.5-noble)phylobase_0.8.12.tar.gz(r-4.4-noble)
phylobase_0.8.12.tgz(r-4.4-emscripten)phylobase_0.8.12.tgz(r-4.3-emscripten)
phylobase.pdf |phylobase.html
phylobase/json (API)
NEWS

# Install 'phylobase' in R:
install.packages('phylobase', repos = c('https://fmichonneau.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/fmichonneau/phylobase/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

phylogenetics

11.20 score 17 stars 18 packages 398 scripts 3.6k downloads 29 mentions 78 exports 49 dependencies

Last updated 10 months agofrom:5eecded489. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 25 2024
R-4.5-win-x86_64OKOct 25 2024
R-4.5-linux-x86_64OKOct 25 2024
R-4.4-win-x86_64OKOct 25 2024
R-4.4-mac-x86_64OKOct 25 2024
R-4.4-mac-aarch64OKOct 25 2024
R-4.3-win-x86_64OKOct 25 2024
R-4.3-mac-x86_64OKOct 25 2024
R-4.3-mac-aarch64OKOct 25 2024

Exports:[addDataancestorancestorscheckPhylo4childrendepthTipsdescendantsedgeIdedgeLabelsedgeLabels<-edgeLengthedgeLength<-edgeOrderedgesextractTreegetEdgegetNodehasDuplicatedLabelshasEdgeLabelshasEdgeLengthhasNodeDatahasNodeLabelshasPolyhasRetichasSinglehasTipDataheadinternalEdgesisRootedisUltrametriclabelslabels<-MRCAnamesnDatanEdgesnNodesnodeDatanodeData<-nodeDepthnodeHeightnodeIdnodeLabelsnodeLabels<-nodeTypenTipsphylo4phylo4dphylobase.optionsphylobubblesphyloXXYYplotplotOneTreeprintprunereadNCLreadNewickreadNexusreorderrootNoderootNode<-shortestPathshowsiblingssubsetsumEdgeLengthsummarytailtdatatdata<-terminalEdgestip.data.plottipDatatipData<-tipLabelstipLabels<-treePlot

Dependencies:ade4apeaskpassclicpp11crayoncurldigestdplyrfansigenericsgluehmshttrjsonlitelatticelifecyclemagrittrMASSmimenlmeopensslpillarpixmappkgconfigplyrprettyunitsprogresspurrrR6RcppRcppArmadilloreshape2rlangrnclRNeXMLspstringistringrsystibbletidyrtidyselectutf8uuidvctrswithrXMLxml2

The phylo4 classes and methods

Rendered fromphylobase.Rmdusingknitr::rmarkdownon Oct 25 2024.

Last update: 2024-01-29
Started: 2024-01-24

Readme and manuals

Help Manual

Help pageTopics
Utilities and Tools for Phylogeneticsphylobase-package phylobase
Adding data to a phylo4 or a phylo4d objectaddData addData,phylo4-method addData,phylo4d-method addData-methods
Tree traversal and utility functionsancestor ancestors children descendants siblings
Validity checking for phylo4 objectscheckPhylo4 checkPhylo4Data checkTree
Edges accessorsedgeOrder edgeOrder,phylo4-method edges edges,phylo4-method internalEdges internalEdges,phylo4-method terminalEdges terminalEdges,phylo4-method
Get tree from tree+data objectextractTree
Format data for use in phylo4d objectsformatData
Data from Darwin's finchesgeospiza geospiza_raw
Node and Edge look-up functionsgetEdge getEdge,phylo4-method getEdge-methods getNode getNode,phylo4-method
edgeLength methodsdepthTips depthTips,phylo4-method depthTips,phylo4-methods edgeLength edgeLength,phylo4-method edgeLength<- edgeLength<-,phylo4,ANY-method edgeLength<-,phylo4-method hasEdgeLength hasEdgeLength,phylo4-method isUltrametric isUltrametric,phylo4-method nodeDepth nodeDepth,phylo4-method nodeHeight nodeHeight,phylo4-method sumEdgeLength sumEdgeLength,phylo4-method
Test trees for polytomies, inline nodes (singletons), or reticulationhasPoly hasPoly,phylo4-method hasRetic hasRetic,phylo4-method hasSingle hasSingle,phylo4-method
Tests for presence of data associated with trees stored as phylo4d objectshasNodeData hasNodeData,phylo4d-method hasNodeData-methods hasTipData hasTipData,phylo4d-method hasTipData-method,phylo4d-method nData nData,phylo4d-method
Create a 'phylo4', 'phylo4d' or 'data.frame' object from a NEXUS or a Newick fileImport Nexus and Newick files readNCL readNewick readNexus
Methods to test, access (and modify) the root of a phylo4 object.isRooted isRooted,phylo4-method rootNode rootNode,phylo4-method rootNode<- rootNode<-,phylo4-method
MRCAMRCA MRCA,phylo-method MRCA,phylo4-method
multiPhylo4 and extended classesmultiPhylo-class multiPhylo4-class multiPhylo4d-class tbind
nodeId methodsedgeId edgeId,phylo4-method nodeId nodeId,phylo4-method
nTips, nNodes, nEdgesnEdges nEdges,phylo4-method nNodes nNodes,phylo4-method nTips nTips,phylo-method nTips,phylo4-method
'Owls' data from apeowls4
Constructor for pdata (phylogenetic data) classcheck_pdata pdata
Class "pdata"pdata-class ptypes [,pdata,ANY,ANY,ANY-method [,pdata-method [<-,pdata-method [[,pdata,ANY,ANY-method [[,pdata,ANY,missing-method [[,pdata-method [[<-,pdata-method
The phylo4 classphylo4-class
Labels for phylo4/phylo4d objectsedgeLabels edgeLabels,phylo4-method edgeLabels<- edgeLabels<-,phylo4-method hasDuplicatedLabels hasDuplicatedLabels,phylo4,ANY-method hasDuplicatedLabels,phylo4-method hasEdgeLabels hasEdgeLabels,phylo4-method hasNodeLabels hasNodeLabels,phylo4-method labels labels,phylo4-method labels<- labels<-,phylo4-method nodeLabels nodeLabels,phylo4-method nodeLabels<- nodeLabels<-,phylo4-method phylo4-labels tipLabels tipLabels,phylo4-method tipLabels<- tipLabels<-,phylo4-method
Create a phylogenetic treenexml,phylo4-method phylo4 phylo4,matrix-method phylo4,nexml-method phylo4,phylo-method phylo4-methods phylo4_orderings
phylo4d classphylo4d-class
Combine a phylogenetic tree with datanexml,phylo4d-method phylo4d phylo4d,matrix,matrix-method phylo4d,matrix-method phylo4d,nexml-method phylo4d,phylo,phylo-method phylo4d,phylo-method phylo4d,phylo4,phylo4-method phylo4d,phylo4-method phylo4d,phylo4d,phylo4d-method phylo4d,phylo4d-method phylo4d-methods
Set or return options of phylobasephylobase.options
Bubble plots for phylo4d objectsphylobubbles
matrix classes for phylobaseas_phylo4vcov phylo4vcov-class phylomat-class phylomat-setAs setAs,phylo,phylo4vcov-method setAs,phylo4vcov,phylo4-method
Calculate node x and y coordinatesphyloXXYY
Plot a phylo4 objectplotOneTree
print a phylogenyhead head,phylo4-method names names,phylo4-method print print,phylo4-method show show,phylo4-method tail tail,phylo4-method
reordering trees within phylobase objectsreorder reorder,phylo4-method reorder-methods
Converting between phylo4/phylo4d and other phylogenetic tree formatsas as,nexml,phylo4-method as,nexml,phylo4d-method as,phylo,phylo4-method as,phylo,phylo4d-method as,phylo4,phylo-method as-method setAs setAs,phylo4,data.frame-method setAs,phylo4,phylog-method
shortestPath-methodsshortestPath shortestPath,phylo-method shortestPath,phylo4-method shortestPath-phylo shortestPath-phylo4
Methods for creating subsets of phylogeniesprune prune,phylo4-method prune,phylo4d-method subset subset,phylo4-method subset-methods [ [,phylo4,ANY,ANY,ANY-method [,phylo4,character,missing,missing-method [,phylo4,logical,missing,missing-method [,phylo4,missing,missing,missing-method [,phylo4,numeric,missing,missing-method [,phylo4d,ANY,character,missing-method [,phylo4d,ANY,logical,missing-method [,phylo4d,ANY,numeric,missing-method
Summary for phylo4/phylo4d objectsnodeType nodeType,phylo4-method summary summary,phylo4-method summary,phylo4d-method summary-methods
Retrieving or updating tip and node data in phylo4d objectsnodeData nodeData,phylo4d-method nodeData-method nodeData<- nodeData<-,phylo4d,ANY-method nodeData<-,phylo4d-method tdata tdata,phylo4d-method tdata<- tdata<-,phylo4d,ANY-method tdata<-,phylo4d-method tipData tipData,phylo4d-method tipData-method tipData<- tipData<-,phylo4d,ANY-method tipData<-,phylo4d-method
Plotting trees and associated datatip.data.plot
Phylogeny plottingplot plot,ANY,ANY-method plot,pdata,missing-method plot,phylo4,missing-method plot,phylo4-method treePlot treePlot,phylo4,phylo4d-method treePlot-method treePlot-methods