Question: Error in pcaplot3d from pcaExplorer, when running Deseq2 since update of packages
gravatar for reubenmcgregor88
16 months ago by
reubenmcgregor880 wrote:


I was plotting 3D PCA's from Desq2 output using simple:

> pcaplot3d(ddsMF, intgroup = "donor")

I then updated some packages:

> install.packages(c("httr", "Matrix", "plotrix", "shape", "shiny", "threejs", "tidyr"))

And now the pcaplot3D function returns this error:

Error in scatterplot3js(d[, 1:3], color = cols, renderer = "canvas", size = 1.3,  : 
  (list) object cannot be coerced to type 'double'

I have then run the same code on the same data on my computer at home, without updating packages, and it works well again.

Stupidly I then updated the packages and the same error popped up.

Any advice?



platform       x86_64-apple-darwin15.6.0   
arch           x86_64                      
os             darwin15.6.0                
system         x86_64, darwin15.6.0        
major          3                           
minor          4.1                         
year           2017                        
month          06                          
day            30                          
svn rev        72865                       
language       R                           
version.string R version 3.4.1 (2017-06-30)
nickname       Single Candle  

ADD COMMENTlink modified 16 months ago • written 16 months ago by reubenmcgregor880
gravatar for reubenmcgregor88
16 months ago by
reubenmcgregor880 wrote:


For anyone having the same issue, it was the "threejs" package update that was messing with the output!

I installed the older version:

> require(devtools)

> install_version("threejs", version = "0.2.2", repos = "")

And then plot3dpca runs fine again,

I will try and report this but to threejs, but my experience getting through on here has not been great.


ADD COMMENTlink written 16 months ago by reubenmcgregor880

As a long term solution, I updated the code to the call for pcaplot3d which was using threejs.

The issue was related to some new major changes in rthreejs. It should be fixed now, as in The changes would ideally propagate soon to both devel and release.


ADD REPLYlink written 15 months ago by Federico Marini110
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 131 users visited in the last hour