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

length = 3' in coercion to 'logical(1) #227

Open
elizabethmcmillan opened this issue Nov 18, 2024 · 1 comment
Open

length = 3' in coercion to 'logical(1) #227

elizabethmcmillan opened this issue Nov 18, 2024 · 1 comment
Labels

Comments

@elizabethmcmillan
Copy link

Hi! I'm opening another thread about this issue. Can you please let me know if you have any ideas for how to solve this issue?

I'm getting this error when I run both my data and the test data:

library(Rmagic)
data(magic_testdata)
data_MAGIC <- magic(magic_testdata, genes=c("VIM", "CDH1", "ZEB1"))
Error in is.null(x = genes) || is.na(x = genes) :
'length = 3' in coercion to 'logical(1)'

Thank you for your help!!

@leonardfei
Copy link

Hi! I'm opening another thread about this issue. Can you please let me know if you have any ideas for how to solve this issue?

I'm getting this error when I run both my data and the test data:

library(Rmagic)
data(magic_testdata)
data_MAGIC <- magic(magic_testdata, genes=c("VIM", "CDH1", "ZEB1"))
Error in is.null(x = genes) || is.na(x = genes) :
'length = 3' in coercion to 'logical(1)'

Thank you for your help!!

Hello, I met this problem recently, and found the error was referred in the article (https://pmc.ncbi.nlm.nih.gov/articles/PMC10789639/), maybe a R version of incompatible problems, but still an error after I modified version. The description in article is as follows:
Problem 1
Error in is.null (x = genes) || is.na(x = genes) : ‘length = 3’ in coercion to ‘logical(1)’ in Step I when finding the optimal cutoff of highly variable EMT genes.

Potential solution
•This issue is related to the incompatibility of the Rmagic package which is one of the dependencies of RCOMET with the new R version 4.3.1+, please use an alternative R version to fix this issue.

Have you solved the problem now?

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