draw_features.RdPlots the top N guide features that are important for a given cluster.
draw_features(
data,
stoic_clusters,
cluster,
n_top_features = 15,
only_positive = T
)Object returned by the `stoic_data` function.
Object returned by the `stoic_clustering` function.
Cluster of interest (numeric)
Top N features to display.
TRUE: Shows only the features that are important AND have higher values in the considered cluster. FALSE: shows all important features, including also the ones that are depleted in the cluster of interest as compared to other clusters.
A ggplot object.