-
Notifications
You must be signed in to change notification settings - Fork 36
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
Perform Automatic Compensation #19
Comments
Hi, By automatic, do you mean using the embedded spillover matrix in each file? |
Yes, I mean so. I found that when I read the FCS file by FlowKit and check the |
Hi, sorry for the delay on this, I caught a bad cold and have been MIA. So I downloaded 0001.FCS from the flow repository you linked to, but the FCS file doesn't appear to have an internal compensation matrix. There are a lot of files in that repo, can you list a few of the files that do have spill values? I'll grab those and test. Thanks! |
So sorry for late reply. I have checked the files from the repo, they don't contain the spillover matrix :( But I still wonder why the data have different values compare with the values from other packages |
No worries. One possibility for the difference is that FlowKit takes into account the gain and display metadata for each channel. When developing this library I use the GatingML 2.0 compliance data for testing and validation, ensuring that the results exactly match the compliance data ground truth. This is the only pre-processing the Sample performs on an FCS file. So, the To check whether this is the case, let's use 0001.FCS as an example. Debugging the Sample constructor prior to the correction, the first event has these original values:
After correction, the raw event data for this first event becomes:
Can you check this first event's values in the other libraries you are using and see if they match the original values I extracted? |
Yes, the data that I got from other libraries matched with the values prior to correction |
Latest commit allows retrieval of original FCS events via |
Good morning, I have the FCS files from FlowCAP-II AML: https://flowrepository.org/id/FR-FCM-ZZYA
I wonder how can I perform automatic compensation by using FlowKit, I have tried the Flowultils compensate method but it didn't work
The text was updated successfully, but these errors were encountered: