Man pages for castor
Efficient Phylogenetics on Large Trees

asr_empirical_probabilitiesEmpirical ancestral state probabilities.
asr_independent_contrastsAncestral state reconstruction via phylogenetic independent...
asr_max_parsimonyMaximum-parsimony ancestral state reconstruction.
asr_mk_modelAncestral state reconstruction with Mk models and rerooting
asr_squared_change_parsimonySquared-change parsimony ancestral state reconstruction.
castorEfficient computations on large phylogenetic trees.
collapse_monofurcationsRemove monofurcations from a tree.
collapse_tree_at_resolutionCollapse nodes of a tree at a phylogenetic resolution.
count_clades_over_timeCount number of clades over time.
count_tips_per_nodeCount descending tips.
exponentiate_matrixExponentiate a matrix.
extend_tree_to_heightExtend a rooted tree up to a specific height.
find_farthest_tipsFind farthest tip to each tip & node of a tree.
find_nearest_tipsFind nearest tip to each tip & node of a tree.
find_rootFind the root of a tree.
find_root_of_monophyletic_tipsFind the node or tip that, as root, would make a set of...
fit_bm_modelFit a Brownian motion model for multivariate trait evolution.
fit_tree_modelFit a cladogenic model to an existing tree.
generate_random_treeGenerate a tree using a Poissonian speciation/extinction...
generate_tree_with_evolving_ratesGenerate a random tree with birth/death rates evolving under...
get_all_distances_to_rootGet distances of all tips and nodes to the root.
get_all_node_depthsGet the phylogenetic depth of each node in a tree.
get_independent_contrastsPhylogenetic independent contrasts for continuous traits.
get_mrca_of_setMost recent common ancestor of a set of tips/nodes.
get_pairwise_distancesGet distances between pairs of tips or nodes.
get_pairwise_mrcasGet most recent common ancestors of tip/node pairs.
get_random_diffusivity_matrixCreate a random diffusivity matrix for a Brownian motion...
get_random_mk_transition_matrixCreate a random transition matrix for an Mk model.
get_stationary_distributionStationary distribution of Markov transition matrix.
get_subtree_at_nodeExtract a subtree descending from a specific node.
get_subtree_with_tipsExtract a subtree spanning a specific subset of tips.
get_tips_for_mrcasFind tips with specific most recent common ancestors.
get_trait_acfPhylogenetic autocorrelation function of a numeric trait.
get_trait_depthCalculate depth of phylogenetic conservatism for a binary...
get_trait_stats_over_timeCalculate mean & standard deviation of a numeric trait on a...
get_tree_spanGet min and max distance of any tip to the root.
get_tree_traversal_root_to_tipsTraverse tree from root to tips.
hsp_empirical_probabilitiesHidden state prediction via empirical probabilities.
hsp_independent_contrastsHidden state prediction via phylogenetic independent...
hsp_max_parsimonyHidden state prediction via maximum parsimony.
hsp_mk_modelHidden state prediction with Mk models and rerooting
hsp_squared_change_parsimonyHidden state prediction via squared-change parsimony.
is_monophyleticDetermine if a set of tips is monophyletic.
map_to_state_spaceMap states of a discrete trait to integers.
merge_short_edgesEliminate short edges in a tree by merging nodes into...
multifurcations_to_bifurcationsExpand multifurcations to bifurcations.
pick_random_tipsPick random subsets of tips on a tree.
reconstruct_past_diversificationReconstruct past diversification dynamics from a diversity...
reorder_tree_edgesReorder tree edges in preorder or postorder.
root_at_midpointRoot or re-root a tree at the midpoint node.
root_at_nodeRoot or re-root a tree at a specific node.
root_in_edgeRoot or re-root a tree in the middle of an edge.
root_via_outgroupRoot or re-root a tree based on an outgroup tip.
simulate_bm_modelSimulate a Brownian motion model for multivariate trait...
simulate_diversification_modelSimulate a speciation/extinction model.
simulate_mk_modelSimulate an Mk model for discrete trait evolution.
simulate_ou_modelSimulate an Ornstein-Uhlenbeck model for continuous trait...
simulate_rou_modelSimulate a reflected Ornstein-Uhlenbeck model for continuous...
trim_tree_at_heightTrim a rooted tree down to a specific height.
write_treeWrite a tree in Newick (parenthetic) format.
castor documentation built on Nov. 29, 2017, 5:01 p.m.