run_ephys_clustering.shΒΆ
This bash script runs several R and Python scripts in order to produce a set of stable clusters from sparse PCA electrophysiology values. The script takes a JSON file with the following parameters as an input:
Parameter |
Description |
---|---|
|
Path to CSV file with sPCA components (input file) |
|
Path to file with cluster membership probabilities (output of run_ephys_clustering.r) |
|
Path to file with cluster labels (output of run_ephys_clustering.r) |
|
Path to file with Bayes information criterion values for different numbers of clusters (output of run_ephys_clustering.r) |
|
Path to JSON file with number of components after entropy-based merging (output of drcme.bin.run_post_r_merging) |
|
Path to file with cluster membership probabilities after entropy-based merging (output of run_entropy_cumul_merges.r) |
|
Path to file with cluster labels after entropy-based merging (output of run_entropy_cumul_merges.r) |
|
Path to file with Jaccard coefficient values after subset-based stability analysis (output of run_cluster_stability.r) |
|
Path to file with stable e-type assignments (output of drcme.bin.run_merge_unstable_clusters) |
|
Path to file with post-merging cluster membership probabilities (output of drcme.bin.run_merge_unstable_clusters) |
|
Path to file with merge sequence information (output of drcme.bin.run_merge_unstable_clusters) |
|
Number of components (2 or 3) for piecewise linear fit of entropy scores |
|
List of outlier specimen IDs to exclude (use empty list if none) |