This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Help using ShinyCell2 and Seurat v5 object.

Hello! Currently I am trying to create a shinycell app with my seurat object. However, I keep on encountering this error:

Error in sc1gexpr.grp$create_dataset("data", dtype = h5types$H5T_NATIVE_FLOAT, : The length of the chunk_dims is 1 and has to be the same as the rank of the space 0

What does this error mean? My seurat object was created with seurat v5, and I ran SCTransform and integration already. I am currently trying to use ShinyCell2.

Here is my entire code:

library(Seurat)
library(ShinyCell2)

seu <- readRDS("/Users/jamiechoe/Desktop/PracticeRNA/jamie_project/Merged_Donors/Merged_Donors.rds")

scConf <- createConfig(seu)

makeShinyApp(seu, scConf, gene.mapping = TRUE, gex.assay = "SCT", shiny.title = "All Cells Shiny App", shiny.dir = "/Users/jamiechoe/Desktop/PracticeRNA/jamie_project/shinyApp")

scConf <- createConfig(seu)
makeShinyFiles(seu,scConf, shiny.prefix="sc1", shiny.dir="shinyApp/")
makeShinyCodes(shiny.title = "PBMC multiomics", shiny.prefix="sc1",
               shiny.dir="shinyApp/")

How could I go about fixing this error?

Thank you so much!

shinycell seurat shiny shinycell2 scrna

0 answers

No answers yet.

Log in to answer this question.