-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cluster_group.tsv re-arrangement #214
Comments
it looks like the program you're using does not load the tsv files properly, no? |
Thank you for your fast response: the output of the looks like this: id Amplitude ContamPct KSLabel amp channel depth firing_rate group n_spikes shank The function that I use to read the file is from the function readClusterGroupsCSV: fid = fopen(filename); I should comment for clarification than only a subset of the cells had been curated but that is the same case for all my sessions and only a few of them (5 out of 52) will show the issue. |
this file looks correct. I suppose the readClusterGroupsCSV only works on cluster_groups.tsv and not cluster_info.tsv which is a special file created by phy and that exports the entire contents of the cluster view. It has many columns whereas all other tsv should have only 2 columns. cluster_info.tsv is typically not expected to be read unless you want to do your own analysis, independently of KS2 and phy |
I see I was not aware. These recordings have several probes and I used "info.tvs" mainly for getting the channel were KS identify the cluster to focus only on shanks were there is manual curation but I detect the inconsistency in few files. So better would be to add the channel as an output as you indicated in the plugin examples: https://phy.readthedocs.io/en/latest/plugins/. I will try that then. |
As an alternative, I loaded info.tsv using the following specs for textscan: fid = fopen(filename); (taken from https://de.mathworks.com/matlabcentral/answers/157803-whitespace-problem-with-textscan#comment_241588) Now I can access all info. I cross-checked with the output from group.tsv, and at least in my dataset, there is no mismatch. Thanks for a lot for orient me |
my clusterview doesnt show up in phy and i cant find the function readClusterGroupsCSV. is this part of phy ? |
Hi all,
In some of my curated sessions, I noticed that the file cluster_info.tsv is re-arranged or has missed information, while cluster_group.tsv seems correct, overall is not common to occur but I wonder what might be the reason.
Below I show a comparison of two different sessions, the left one showing the re-arrangement.
What do you think might be the issue?
Thank you for the tools
Eduardo
The text was updated successfully, but these errors were encountered: