SCTransform(visium, assay = "Spatial", verbose = TRUE)

RunPCA(visium, npcs = 100, assay = "SCT", verbose = FALSE)

FindNeighbors(visium, reduction = "pca", dims = 1:30)

FindClusters(visium, resolution = 1, verbose = FALSE,

RunUMAP(visium, reduction = "pca", dims = 1:30, verbose = FALSE)