Coverts objects of specific classes to objects of class HistologyImaging.

asHistologyImaging(object, ...)

# S4 method for VisiumV1
asHistologyImaging(object, id, scale_with = "lowres", verbose = TRUE)

# S4 method for AnnDataR6
asHistologyImaging(
  object,
  id,
  library_id,
  spatial_key = "spatial",
  scale_with = "lowres",
  verbose = verbose
)

Arguments

object

Any object for which a method has been defined.

Value

An object of class HistologyImaging.