Skip to content

Error in SpaCET.visualize.spatialFeature(SpaCET_obj, spatialType = "QualityControl", : object 'pp' not found #64

Description

@yu11111kon-wq

when i run 'SpaCET.visualize.spatialFeature(
SpaCET_obj,
spatialType = "QualityControl",
spatialFeatures=c("UMI","Gene"),
imageBg = TRUE,
imageSize = "CompleteImage"
)',it tells me 'Error in SpaCET.visualize.spatialFeature(SpaCET_obj, spatialType = "QualityControl", : object 'pp' not found'.
These are my Seurat, SpaCET and R versions:

packageVersion("Seurat")
[1] ‘5.5.0’
packageVersion("SpaCET")
[1] ‘1.4.0’
sessionInfo()
R version 4.5.2 (2025-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 26200)
and here are the codes:
library(SpaCET)
library(Seurat)
visiumPath = file.path(system.file(package = "SpaCET"), "extdata/Visium_BC")
SpaCET_obj = create.SpaCET.object.10X(visiumPath = visiumPath)
SpaCET_obj@input$counts[1:8,1:6]
###8 x 6 sparse Matrix of class "dgCMatrix"

50x102 59x19 14x94 47x13 73x43 61x97

###MIR1302-2HG . . . . . .
###FAM138A . . . . . .
###OR4F5 . . . . . .
###AL627309.1 . . . . . 1
###AL627309.3 . . . . . .
###AL627309.2 . . . . . .
###AL627309.4 . . . . . .
###AL732372.1 . . . . . .

SpaCET_obj = SpaCET.quality.control(SpaCET_obj)
###Removing spots with less than 1 expressed genes.
###0 spots are removed.
###3813 spots are kept.
SpaCET.visualize.spatialFeature(

  • SpaCET_obj,
  • spatialType = "QualityControl",
  • spatialFeatures = c("UMI", "Gene"),
  • imageBg = T
  • )
    i don't how to fix it.Hope to receive your reply. Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions