drcme.ephys_morph_clustering.spectral_combo_cluster_calls¶
- drcme.ephys_morph_clustering.spectral_combo_cluster_calls(results_df, morph_data, ephys_data, weights=[1, 2, 5], n_cl=[10, 15, 20, 25])[source]¶
Add spectral clustering results
- Parameters
results_df (DataFrame) – Existing DataFrame that new clustering results are added to as new columns
morph_data (array) – Specimens by morphology features array
ephys_data (array) – Specimens by electrophysiology features array
weights (list, optional) – Set of relative electrophysiology weights
n_cl (list, optional) – Set of cluster numbers
- Returns
Combined clustering results. The index is the set of specimen_ids. Each column contains cluster labels for a different clustering variant.
- Return type
DataFrame