A convenient wrapper that routes to platform-specific edge detection methods.
Usage
detectEdgeArtifacts(spe, platform = c("visium", "visiumhd"), ...)Value
A SpatialExperiment object with
artifact detection columns (_edge, _problem_id, _problem_size)
added to colData.
Examples
# Load example data
data(spe_vignette)
# 1. Standard Visium example (runnable)
spe_visium <- detectEdgeArtifacts(spe_vignette, platform = "visium")
#> Error in `[[<-`(`*tmp*`, lg10_metric, value = numeric(0)): 0 elements in value to replace 4965 elements
# 2. Visium HD example (wrapped in to avoid execution without HD data)
# \donttest{
# spe_hd <- detectEdgeArtifacts(spe_hd_example, platform = "visiumhd", resolution = "16um")
# }
