createSpatialData | R Documentation |
SpatialData
from raw outputOfficial constructor function of the S4 class SpatialData
.
Functions suffixed by the platform name are wrappers written for their
standardized output folder.
createSpatialData(
sample,
hist_img_ref = NULL,
hist_imgs = list(),
active = NULL,
coordinates = tibble::tibble(),
meta = list(),
method = SpatialMethod(),
scale_factors = list(),
resize_images = NULL,
unload = TRUE,
misc = list(),
verbose = TRUE,
...
)
createSpatialDataMERFISH(
dir,
sample,
file_coords = NULL,
meta = list(),
misc = list(),
verbose = TRUE
)
createSpatialDataSlideSeqV1(
dir,
sample,
file_coords = NULL,
meta = list(),
misc = list()
)
createSpatialDataVisium(
dir,
sample,
img_ref = "lowres",
img_active = "lowres",
resize_images = NULL,
unload = TRUE,
meta = list(),
misc = list(),
verbose = TRUE
)
createSpatialDataVisiumHD(
dir,
sample,
square_res,
img_ref = "lowres",
img_active = "lowres",
resize_images = NULL,
unload = FALSE,
meta = list(),
misc = list(),
verbose = TRUE
)
createSpatialDataXenium(dir, sample, meta = list(), misc = list())
sample |
Character value. The sample name of the tissue. |
hist_img_ref |
The |
hist_imgs |
List of additional |
active |
Character value. Name of the |
coordinates |
Data.frame of at least three variables:
Coordinates should align with the tissue outline of the reference |
meta |
List of meta data regarding the tissue. |
resize_images |
A named list of numeric values between 0-1 used to resize
the respective image as indicated by the slot name. E.g |
unload |
Logical value. If |
misc |
List of miscellaneous information. |
verbose |
Logical. If (Warning messages will always be printed.) |
... |
Used to absorb deprecated arguments or functions. |
dir |
The directory to the output folder of the platform. |
file_coords |
Character value or
|
img_ref , img_active |
Character values specifying which of the images to register and how to register
them. Click
|
square_res |
Character. The square resolution from which to load the data. While c('16um', '8um', '2um')
are the default resolutions, |
An object of class SpatialData
registerImage()
to register images afterwards.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.