drcme.bin.run_ephys_morph_clustering¶
Script to cluster on combined electrophysiology and morphology data.
The script runs multiple clustering variants, determines consensus clusters, and finally evaluates the stability of each cluster.
- class drcme.bin.run_ephys_morph_clustering.MeClusteringParameters(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]¶
Parameter schema for electrophysiology/morphology clustering
This schema is designed to be a schema_type for an ArgSchemaParser object
MeClusteringParameters¶ key
description
default
field_type
json_type
input_json
file path of input json file
NA
InputFilestr
output_json
file path to output json file
NA
OutputFilestr
log_level
set the logging level of the module
ERROR
LogLevelstr
ephys_file
CSV file path with sparse PCA electrophysiology values
NA
InputFilestr
morph_file
CSV file path with morphology parameter values
NA
InputFilestr
weights
List of relative weights for the electrophysiology values
[1.0, 2.0, 4.0]
Listfloat
n_cl
List of number of clusters for initial clustering algorithms
[10, 15, 20, 25]
Listint
min_consensus_n
Minimum cluster size for consensus clusters
3
Integerint
cocluster_matrix_file
Output file path for co-clustering matrix
NA
OutputFilestr
cluster_labels_file
Output file path for cluster labels
NA
OutputFilestr
specimen_id_file
Output file path for specimen IDs
NA
OutputFilestr
jaccards_file
Output file path for Jaccard coefficients
NA
OutputFilestr
ordering_file
Output file path for new cluster order
NA
OutputFilestr
Functions
|
Main runner function for script. |
Classes
|
Parameter schema for electrophysiology/morphology clustering |