Error in if (mods == "all") { : the condition has length > 1
I suppose it's because I'm trying to compare an array vs single value and it returns an array of boolean.
What should be the correct syntax for this parameter?
Thanks!
ps I appreciate your effort of maintaining and updating the package. I'll reply to your comments on my other issues in a few days!
I found an issue with this function that was causing this error message, and I think that I fixed it in the latest update. Please let me know if it works for you.
Hi Sam, I'm trying to plot the hub genes network but only for selected modules. The code I'm using is
but I got this error:
I suppose it's because I'm trying to compare an array vs single value and it returns an array of boolean. What should be the correct syntax for this parameter? Thanks!
ps I appreciate your effort of maintaining and updating the package. I'll reply to your comments on my other issues in a few days!