Open JianmeiZhong opened 6 years ago
Have you loaded the following packages before this analysis:
library('ggnetwork') library('GGally') library('geomnet') library('network') library('sna')
I noticed that there seem some incompatibility with igraph and this packages that compromises the initial analysis at the top of the tutorial. That's why we load these packages at this point. Please, let me know if that works.
Thanks!
2018-05-03 22:49 GMT-04:00 JianmeiZhong notifications@github.com:
Hi, When running the regulatornetwork function,Error: ggplot2 doesn't know how to deal with data of class igraph was reported.Here are the cmds I use:
regulators=c("GATA1","GATA2") regulatornetwork(x, regulators, 5, 2, 5, 9, 'results/regulator_networks. pdf') ggplot2 was upgraded to newest version 2.2.1 but the error still remained and was generated by g <- fortify(rgrn) i think. any suggestions to fix this?
Thanks a lot lot.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/edroaldo/cellrouter/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AJqUR2IkoMGEeNR7lgDv6yN5H6MYbQ0eks5tu8GlgaJpZM4TyDCc .
-- Edroaldo
Thanks a lot!! That works.:)
Hi, When running the regulatornetwork function,
Error: ggplot2 doesn't know how to deal with data of class igraph
was reported.Here are the cmds I use:> regulators=c("GATA1","GATA2")
> regulatornetwork(x, regulators, 5, 2, 5, 9, 'results/regulator_networks.pdf')
ggplot2 was upgraded to newest version 2.2.1 but the error still remained and was generated byg <- fortify(rgrn)
i think. any suggestions to fix this?Thanks a lot lot.