plotSankey: Sankey plot

plotSankeyR Documentation

Sankey plot

Description

Plot an overview of consensus structural classifcations using a sankey plot.

Usage

plotSankey(
  x,
  exclude_kingdoms = c("Unclassified", "No database hits", "Unknown")
)

## S4 method for signature 'tbl_df'
plotSankey(
  x,
  exclude_kingdoms = c("Unclassified", "No database hits", "Unknown")
)

## S4 method for signature 'Construction'
plotSankey(
  x,
  exclude_kingdoms = c("Unclassified", "No database hits", "Unknown")
)

Arguments

x

The consensus structural classifications to plot. This should either a tibble of an object of S4 class Construction as returned by construction().

exclude_kingdoms

a vector of kingdoms names to exclude from the plot

Examples

plotSankey(construction::structural_classifications)

jasenfinch/consensus documentation built on Sept. 2, 2023, 8:13 a.m.