You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When I load Kilosort 2.5 output into Phy, the cluster groupings are not recognized by Phy. There is a column 'KSLabel' in Cluster View, but internally every cluster is labeled as 'unsorted'. This is evidenced by two things. One, every cluster is color coded white, the color for unsorted neurons, rather than being color coded appropriately. Second, if you manually sort any clusters in phy and click the save button, the 'cluster_groups.tsv' file is overwritten and only includes the clusters you manually sorted.
Cause:
I believe the reason for this is that Phy expects the 'cluster_groups.tsv' file to have two categories: 'cluster_id' and 'group'. Instead, the file output from Kilosort has the categories 'cluster_id' and 'KSLabel'.
The text was updated successfully, but these errors were encountered:
I've confirmed this was indeed the problem. It's not an elegant solution but I changed rezToPhy.m to save the 'cluster_group.tsv' file separately with the correct label rather than just copying the 'cluster_KSLabel.tsv' file. I'll open a pull request with the changes, but leave this issue open since this is just a temporary workaround.
The KSlabel should be a column of Phy, not directly a "sorting decision". The sorting decisions are for you to make, if you want to change the output of Kilosort.
Description:
When I load Kilosort 2.5 output into Phy, the cluster groupings are not recognized by Phy. There is a column 'KSLabel' in Cluster View, but internally every cluster is labeled as 'unsorted'. This is evidenced by two things. One, every cluster is color coded white, the color for unsorted neurons, rather than being color coded appropriately. Second, if you manually sort any clusters in phy and click the save button, the 'cluster_groups.tsv' file is overwritten and only includes the clusters you manually sorted.
Cause:
I believe the reason for this is that Phy expects the 'cluster_groups.tsv' file to have two categories: 'cluster_id' and 'group'. Instead, the file output from Kilosort has the categories 'cluster_id' and 'KSLabel'.
The text was updated successfully, but these errors were encountered: