| cluster_group_plot | R Documentation | 
Saves to file a plot showing the clusters within a cluster group, colored by group membership and with the central elements labeled for each cluster
cluster_group_plot(
  scores_df,
  cluster_membership,
  central_elements_by_cluster,
  cluster_group_id,
  output_path = NA,
  my_width = 8,
  my_height = 8
)
| scores_df | Dataframe with elements ( i.e. features ) x principle component scores. Expects at least a PC1 and PC2 column | 
| cluster_membership | Integer factor with cluster membership for each element in scores_df | 
| central_elements_by_cluster | Character vector with element names at locations of most central elements for each cluster and "" everywhere else | 
| cluster_group_id | One-length character vector name for this cluster group to be used in plot title | 
| output_path | Character vector with fully qualified path to which plot will be saved | 
| my_width | One-length numeric vector with width of output plot ( in inches ) | 
| my_height | One-length numeric vector with height of output plot ( in inches ) | 
Returns the ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.