Skip to content

Commit

Permalink
Specify Seurat package for its function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Eagles committed Oct 14, 2024
1 parent 40e6cad commit c314e8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/as.Seurat.R
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ as.Seurat <- function(
seur@images[[sample_id]] <- new(
Class = "VisiumV1",
image = this_img,
scale.factors = scalefactors(
scale.factors = Seurat::scalefactors(
spot = NA, fiducial = NA, hires = NA,
lowres = imgData(spe)[
imgData(spe_small)$image_id == "lowres", "scaleFactor"
]
),
coordinates = coords,
spot.radius = SPOT_DIAMETER / scaleFactors(spe_small),
spot.radius = SPOT_DIAMETER / Seurat::scaleFactors(spe_small),
assay = "originalexp",
key = paste0(sample_id, "_")
)
Expand Down

0 comments on commit c314e8d

Please sign in to comment.