farrellja / URD

URD - Reconstruction of Branching Developmental Trajectories
GNU General Public License v3.0
115 stars 41 forks source link

Force directed layout fails to show even though it is loaded and calculated #66

Open shiromchabra opened 3 years ago

shiromchabra commented 3 years ago

Dear Farrell Lab,

I am having issues with displaying the force directed layout. It has been calculated and finished however when proceeding with plotTreeForce() nothing loads and there is no error. I initially thought this may have been a problem with the rgl package on Mac and its dependency on X11 forwarding however after solving these issues the problem persists. I would be grateful for any advice on how to clarify this issue in order to generate 3D force directed layouts!

Best Wishes, Shirom Chabra

pchiang5 commented 2 years ago

Hello Shirom,

I encountered the same issue on windows 10 (WSL2). My problem was caused by missing OpenGL support with the error below:

This build of rgl does not include OpenGL functions.

It was resolved by installing via conda with the following command:

conda install -c r -c conda-forge r-rgl

Hope this helps.