edroaldo / cellrouter

Reconstruction of complex single-cell trajectories using CellRouter
45 stars 21 forks source link

could not find function "graph.data.frame" when running buildGRN on example code #32

Open AndreaRP opened 2 years ago

AndreaRP commented 2 years ago

Hi,

I've been trying to run your example code but I get the following error when I get to running "buildGRN": Error in graph.data.frame(tmpAns, directed = directed, v = verticies) : could not find function "graph.data.frame" I had no trouble installing any dependencies either, so I don't understand where the problem could be, any insight would be appreciated. Session info: R version 4.0.3 (2020-10-10) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 18.04.6 LTS, RStudio 1.3.959

edroaldo commented 2 years ago

Hi Andrea,

Can you please try loading igraph before calling buildGRN: library(igraph)

Thanks!

On Tue, 22 Feb 2022 at 06:46, Andrea @.***> wrote:

Hi,

I've been trying to run your example code but I get the following error when I get to running "buildGRN": Error in graph.data.frame(tmpAns, directed = directed, v = verticies) : could not find function "graph.data.frame" I had no trouble installing any dependencies either, so I don't understand where the problem could be, any insight would be appreciated. Session info: R version 4.0.3 (2020-10-10) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 18.04.6 LTS, RStudio 1.3.959

— Reply to this email directly, view it on GitHub https://github.com/edroaldo/cellrouter/issues/32, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNJIR3IDCG3Y2AHX3CPEADU4NZSPANCNFSM5PBESKWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

AndreaRP commented 2 years ago

That solved the issue, thanks a lot!

edroaldo commented 2 years ago

Great! Thanks for using CellRouter!

On Tue, 22 Feb 2022 at 11:20, Andrea @.***> wrote:

That solved the issue, thanks a lot!

— Reply to this email directly, view it on GitHub https://github.com/edroaldo/cellrouter/issues/32#issuecomment-1047966513, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNJIR4XTQHJKWNASYYJOT3U4OZUXANCNFSM5PBESKWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>