createHistologyImaging | R Documentation |
HistologyImaging
Creates an object of class HistologyImaging
that is used to
store the image, image meta data and image annotations.
Located in slot @images in the SPATA2
object.
createHistologyImaging(
image,
id = "imageid",
img_scale_fct = 1,
meta = list(),
pxl_scale_fct = NULL,
coordinates = NULL,
verbose = TRUE,
...
)
image |
Image input or character value. If character, input is interpreted as a directory
to a file or to an URL and is read with If not character, the function ensures that the input is - or is convertible - to
class |
id |
Character value. Name of the |
img_scale_fct |
Numeric value between 0 and 1. If lower than 1, is used to downscale the image before setting it. |
coordinates |
A data.frame of observational units that underlie the image in case of spatially resolved multi-omic studies. Should contain at least the two variables: x, y and a variable that identifies the observational units (e.g. barcodes). |
An object of class HistologyImaging
.
?HistologyImaging
for the documentation of all slots.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.