Mouse-Imaging-Centre / RMINC

Statistics for MINC volumes: A library to integrate voxel-based statistics for MINC volumes into the R environment. Supports getting and writing of MINC volumes, running voxel-wise linear models, correlations, etc.; correcting for multiple comparisons using the False Discovery Rate, and more. With contributions from Jason Lerch, Chris Hammill, Jim Nikelski and Matthijs van Eede. Some additional information can be found here:
https://mouse-imaging-centre.github.io/RMINC
Other
23 stars 17 forks source link

3D plots broken in recent versions of rgl #274

Open cfhammill opened 4 years ago

cfhammill commented 4 years ago

RGL > 0.100 switched the colour mapping default used by RMINC, causing colours to be scrambled with respect to the mesh. It can be fixed by passing an explicit argument meshColor = "legacy" to the underlying RGL functions. Surprisingly meshColor = "vertices" didn't work when I last tested, but the our colours have always been mapped to vertices. I'm presently undecided whether to switch to legacy or future proof by getting vertices to work.