plot_phyloheatmap: Build a phylostratigraphic heatmap

View source: R/plot.R

plot_phyloheatmapR Documentation

Build a phylostratigraphic heatmap

Description

Build a phylostratigraphic heatmap

Usage

plot_phyloheatmap(
  hits,
  tree = NULL,
  n = 50,
  focal_id = NULL,
  to_name = TRUE,
  ...
)

Arguments

hits

A table of best hits

tree

An optional phylo object, if it is not given, a tree will be infrerred from the taxon IDs in the 'staxid' column. This will work only if all these IDs are valid NCBI taxonomy IDs.

n

The number of genes to display per page

focal_id

The focal taxonomy ID (if given, this will be used to order the tree relative with the focal species on top)

to_name

If TRUE, then the tip labels will be converted from taxonomy IDs to scientific names

Value

ggtree object


arendsee/phylostratr documentation built on Dec. 31, 2022, 10:22 a.m.