Generic bubble plot for RBIMS tables (KEGG/InterPro/Pfam/...).
Supports "Abundance", "Binary", "Percentage", or "None" (precomputed).
You can set axis labels via x_labs/y_labs directly (TRUE/FALSE/character).
Extra ggplot2 layers can be passed via ... (theme(), guides(), etc.).
plot_bubble(
tibble_ko,
x_axis,
y_axis,
analysis = NULL,
calc = NULL,
data_experiment = NULL,
color_character = NULL,
order_bins = NULL,
order_metabolism = NULL,
color_pallet = NULL,
range_size = NULL,
x_labs = TRUE,
y_labs = TRUE,
text_x = NULL,
text_y = NULL,
...
)Tibble produced by mapping/get_subset/import functions.
Bare column (usually Bin_name).
Bare column (KO/pathway/module/etc.).
Optional string ("KEGG", "InterPro", etc.). Informative only.
"Abundance", "Binary", "Percentage", or "None".
Optional metadata (joined by "Bin_name").
Bare column for color (metadata or tibble_ko).
Optional character vector with desired bin order.
Optional character vector with desired y order.
Optional character vector for manual color scale.
Numeric length-2 for point size range (default c(1,5)).
TRUE uses x name, FALSE uses NULL, character sets label.
TRUE uses y name, FALSE uses NULL, character sets label.
Numeric axis text size (default 7).
Numeric axis text size (default 7).
Extra ggplot2 layers (e.g., theme(...), guides(...)).