cellrouter
cellrouter copied to clipboard
Error: ggplot2 doesn't know how to deal with data of class igraph
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.