-
Notifications
You must be signed in to change notification settings - Fork 25
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
Error when reading FCS file #235
Comments
flowCore is carrying out checks that FJ does not. The error seems to be located where read.FCS is checking whether the measurements are in their range or not (global min and channel max). This test seems to occur when there is no transformation set (but still unsure). Lines 1230 to 1258 in ba3b6ff
|
Hi Sam, the error is gone with |
Your Time channel has a reported range of 9.223372e+18 but data in your time channel go up to 3.378476e+38 and some values are NA. |
Noting here until I can check out the repo: Error is in this secton: Lines 1234 to 1258 in 14781e7
|
For curiosity and if you have time, how a NA results from a FCS file? |
@SamGG a great question:
for that time channel.
And it's not just that it's trying to read more than it should... the length of the read data is 17453527 and the max index that's NA is 15418653. |
It's an FCS file from an instrument prototype. Happy to continue discussing offline, as this will include confidential information. Thanks everyone for your support and quick responses. |
I still think we should test for NA and error more informatively. Will reopen until I push a fix. |
Describe the bug
When trying to read an FCS file, read.FCS throws an error:
I can not detect anything wrong with the file. FlowJo opens the file without issues. Already checked this issue, which looks similar, but couldn't reproduce the solution: #123
To Reproduce
Download FCS file: https://oc.embl.de/index.php/s/F0rTI92aOkzofWc
Expected behavior
There should be no error.
sessionInfo():
The text was updated successfully, but these errors were encountered: