Sankey plot
plotSankey.Rd
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 tbl_df
plotSankey(
x,
exclude_kingdoms = c("Unclassified", "No database hits", "Unknown")
)
# S4 method for 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 byconstruction()
.- exclude_kingdoms
a vector of kingdoms names to exclude from the plot
Examples
plotSankey(construction::structural_classifications)