""" amp.plot_summary_stat_boxplots_by_exp_groups(raw_arr_df, arr_summary_stats, sample_inds=None, fig_path=fig_path) """Clustering plots""" """ 1. Dendrograms: """ #amp.plot_clustering_dendrograms(Z_struct=Z_struct, prot_names=prot_names, labels=arr_df.index[time_dict['D21']], fig_path=None) amp.plot_clustering_dendrograms(Z_struct=Z_struct, prot_names=['VN1203', 'Indo05'], labels=arr_df.index, fig_path=fig_path, fig_prefix='Raw_') """ 2. Raw responses by cluster: """ for p, s in zip(['VN1203', 'Indo05'], ['VN1203', 'Indo05']): amp.plot_raw_responses_by_clusters(raw_arr_df, ind_dict[p], num_clusters, clusters=clusters[p], fig_path=fig_path, fig_prefix=s + '_Raw', fig_size=(18,11), y_lims=[0, 50000]) """ 3. Median responses by cluster: """ for p, s in zip(['VN1203', 'Indo05'], ['VN1203', 'Indo05']): amp.plot_median_responses_by_clusters(raw_arr_df, ind_dict[p], num_clusters, clusters=clusters[p], fig_path=fig_path, fig_prefix=s + '_Raw', fig_size=(18,11), y_lims=y_lims) """ 4. Summary stat boxplots by clusters: """ amp.plot_summary_stat_boxplots_by_clusters(raw_arr_df, clusters, ['VN1203', 'Indo05'], arr_summary_stats, sample_inds=None, fig_path=fig_path)