Identifies top contributing clusters across feature types and drugs, and visualizes their relative contributions.

plotTopClusters(
  top_feat_path = ".",
  cluster_feature_path = ".",
  protein_names_path = ".",
  top_n = 10
)

Arguments

top_feat_path

Character. Path to all_top_features.parquet.

cluster_feature_path

Character. Path to cluster_feature.parquet.

protein_names_path

Character. Path to protein_names.parquet.

top_n

Integer. Number of top features to retain per model.

Value

A ggplot object.

Examples

if (FALSE) { # \dontrun{
plotTopClusters(
  top_feat_path = "data/Campylobacter/ML_top_features",
  cluster_feature_path = "data/Campylobacter/",
  protein_names_path = "data/Campylobacter/",
  top_n = 10
)
} # }