# Electrophysiology clustering

**URL:** <https://community.brain-map.org/t/electrophysiology-clustering/2118>\
**Category:** Technical\
**Tags:** analysis, how-to\
**Created:** [February 6, 2023, 2:09pm UTC](https://community.brain-map.org/t/electrophysiology-clustering/2118 "2023-02-06T14:09:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jballbe](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/jballbe/32/610_2.png) [@Jballbe](https://community.brain-map.org/u/Jballbe)\
**Post date:** [February 6, 2023, 2:09pm UTC](https://community.brain-map.org/t/electrophysiology-clustering/2118/1 "2023-02-06T14:09:51Z")

</div>

Hello everyone,  
I don’t know if this is the right place to ask this, but I am looking for the code you used to perform the clustering only on electrophysiological data. I looked into the drcme package, and I only found the code to perform the [Morpho-electro clustering](https://drcme.readthedocs.io/en/latest/_modules/drcme/bin/run_ephys_morph_clustering.html#MeClusteringParameters). Can you indicate me where to find the code for the clustering only on electrophysiological data please? or do I have to enter empty morphology data in the ME-clustering code?

Also, I read in your Methods from Gouwens et al., 2019, that after performing the sPCA, you fitted the results to multiple Gaussian Mixture Models. Do you have a specific script for this step or is it done internally by another function?

thank you very much for your help!  
Best  
Julien

---

<div class="post-metadata">

**Author:** ![gouwens](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@gouwens](https://community.brain-map.org/u/gouwens)\
**Post date:** [February 6, 2023, 5:31pm UTC](https://community.brain-map.org/t/electrophysiology-clustering/2118/2 "2023-02-06T17:31:59Z")

</div>

The DRCME package does contain the code for the electrophysiology-only clustering, as well. I just [responded to your GitHub issue](https://github.com/AllenInstitute/drcme/issues/23) with links to the documentation and code. Hope that helps!
