plt_faith: Plot feature Faith's PD ancestral lineages onto a species...

View source: R/tree_plots.R

plt_faithR Documentation

Plot feature Faith's PD ancestral lineages onto a species phylogenetic tree.

Description

Plot feature Faith's PD ancestral lineages onto a species phylogenetic tree.

Usage

plt_faith(res, feat, include.root = TRUE)

Arguments

res

A results data.frame generated by recpd_calc().

feat

A user-provided array of length 2, containing named features, or indices, corresponding to the feature column/rows of the recpd_calc() results data.frame.

include.root

logical. Include branches from the root of the tree (TRUE) or the MRCA of the presence state tips (FALSE).

Value

A ggtree object.

See Also

plt_recpd


cedatorma/recpd documentation built on April 25, 2022, 10:14 p.m.