Error :[[<- defined for objects of type "S4" only for subclasses of environment - Shiny App error
1
0
Entering edit mode
12 weeks ago
Apoorva ▴ 290

I have an application built in shiny that uses the Seurat package. I'm using one of their plotting functions (DimPlot) to view the tSNE and UMAP plots within the application. This app works perfectly fine on my local machine. But when i host it on shiny-server, the plots don't display and I'm getting this error

Error :[[<- defined for objects of type "S4" only for subclasses of environment

I've tried re-installing seurat, seuratdisk and ggplot2 packages. But I'm not sure what the issue is. Any ideas ?

shiny Seurat single cell RNASeq • 487 views
ADD COMMENT
0
Entering edit mode

Is your Seurat data being properly loaded into the Shiny app on the remote system?

ADD REPLY
0
Entering edit mode

Yes it is. Because there are no issues displaying a FeaturePlot or a table of differentially expressed genes from the dataset.

ADD REPLY
0
Entering edit mode
12 weeks ago
Apoorva ▴ 290

I'd updated seurat from 3.0.2 to the cran version (3.2.2) when I started having this issue. Uninstalling and reinstalling Seurat with all the dependencies didn't work either. Weirdly enough, updating uwot and installing the v4.0 beta fixed it.

ADD COMMENT

Login before adding your answer.

Traffic: 1915 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6