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 when plotting network #346

Open
nvwinsen opened this issue Nov 14, 2024 · 0 comments
Open

Error when plotting network #346

nvwinsen opened this issue Nov 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nvwinsen
Copy link

Hi

I was running a CCA analysis using rcc with main = "Shrinkage".
When trying to use network, I get the following error that seems to come from the iGraph package:

Error in layout_with_fr(list(58, FALSE, c(55, 47, 53, 54, 49, 52, 56,  : 
  At vendor/cigraph/src/layout/fruchterman_reingold.c:395 : Weights must be positive for Fruchterman-Reingold layout. Invalid value

When I plot component 1 to 4, it does not give an error, but when I add component 5 it does. However when I plot components 1 to 4 and 6, leaving out 5, I don't get this error.

I have no idea how to solve this, since all my other plots (cim etc.) work fine.

Any idea what could be the issue?

Thanks

@nvwinsen nvwinsen added the bug Something isn't working label Nov 14, 2024
@evaham1 evaham1 assigned evaham1 and unassigned aljabadi Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants