Skip to content
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

Bugs in COMPASSContainerFromGatingSet #41

Open
gfinak opened this issue Dec 10, 2014 · 2 comments
Open

Bugs in COMPASSContainerFromGatingSet #41

gfinak opened this issue Dec 10, 2014 · 2 comments
Assignees
Labels

Comments

@gfinak
Copy link
Member

gfinak commented Dec 10, 2014

Daryl reports that COMPASSContainerFromGatingSet is giving warnings:

Creating COMPASS Container
A COMPASSContainer with 112 samples from 8 individuals, containing data across 7 markers.
Warning message:
In if (!is.na(markers)) { :
  the condition has length > 1 and only the first element will be used

with the latest release of flowWorkspace and related tools.
He also gets an error:

Error in if (any(sapply(data, function(x) any(x < 0)))) { :
  missing value where TRUE/FALSE needed
In addition: Warning messages:
1: In if (!is.na(markers)) { :
  the condition has length > 1 and only the first element will be used
2: '.local' is deprecated.
Use 'getSingleCellExpression' instead.
See help("Deprecated")

Presumably the API has changed somewhere and this did not get updated.
I don't think this is high priority since we can construct the objects by hand anyway.

@gfinak gfinak added the bug label Dec 10, 2014
@gfinak gfinak self-assigned this Dec 11, 2014
@gfinak
Copy link
Member Author

gfinak commented Dec 11, 2014

At the moment, we're going to try and rule out version discrepancies, etc.

@bneradil
Copy link

This issue renders COMPASSContainerFromGatingSet unusable starting from R version 4.2.0.

From R 4.2.0 release news: "Calling if() or while() with a condition of length greater than one gives an error rather than a warning."

Unless markers has a single element the function is bound to fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants