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

Error in drawAlgorithmGraph #8

Open
aldantas opened this issue Sep 14, 2020 · 2 comments
Open

Error in drawAlgorithmGraph #8

aldantas opened this issue Sep 14, 2020 · 2 comments

Comments

@aldantas
Copy link

aldantas commented Sep 14, 2020

I am getting the following error when calling this function using the same data and instructions from the vignette:

Error in as.double(y) :
cannot coerce type 'S4' to vector of type 'double'

These are the versions I am using:

  • R -> 4.0.2
  • scmamp -> 0.3.2
  • Rgraphviz -> 2.32

I suspect that some update on the Rgraphviz package might have broken this functionality. By the way, the Rhraphviz install instructions are outdated in the vignette. Now it is installed like this:
install.packages("BiocManager")
BiocManager::install("Rgraphviz")

@JerryZhongJ
Copy link

Same issue here, did you solve it?

@thebesttv
Copy link

According to this answer, installing the sp package and replacing plot() with sp::plot() in drawAlgorithmGraph works for me.

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