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

There were 50 or more warnings (use warnings() to see the first 50) run with FEAST #35

Open
timeresistance1996 opened this issue Apr 8, 2022 · 2 comments

Comments

@timeresistance1996
Copy link

I use the example files metadata_example_multi.txt and otu_example_multi.txt to test, except "There were 50 or more warnings" everything is normal, one of the warning is :
"1: In if (!is.element(class(x), c( "matrix", "data.frame", ... :the condition has length > 1 and only the first element will be used"
I also got a result file, has anyone encountered this situation, this way Is the demo file available?

@Asa12138
Copy link

Asa12138 commented May 16, 2022

I found the problem comes from the FEAST_rarefy function, is.element(class(x), c("matrix", "data.frame", "array")) will return 2 bool values but if() only needs one.

> class(x)
[1] "matrix" "array" 

I don't why class() will give two types, very strange. Maybe R4.2.0 the class() function changes.
so I modify the FEAST_rarefy(), delete the line 5. I think that won't change my result
Hope authors can fix this problem, Thanks @liashenhav @kant

@liashenhav
Copy link
Contributor

The 'FEAST_rarefy' function now revised. Please re-run your analysis

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

No branches or pull requests

3 participants