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 ?
Is your Seurat data being properly loaded into the Shiny app on the remote system?
Yes it is. Because there are no issues displaying a FeaturePlot or a table of differentially expressed genes from the dataset.