VoltRon is a spatial omic analysis platform that allows storing a large amount of spatially resolved datasets. As opposed to datasets with either supracellular (spot-level) or cellular resolutions, one might analyze image datasets and pixels to characterize the morphology of a tissue section. Here, images can also be used to build VoltRon objects where pixels (or tiles) are defined as spatial points, and then can also be used for multiple downstream analysis purposes.
In this use case, we will analyze the H&E image derived from a tissue section that was first analyzed by The 10x Genomics Xenium In Situ platform. Three tissue sections were cut from a single formalin-fixed, paraffin-embedded (FFPE) breast cancer tissue block. A 5 \(\mu\)m section was used to generate a single Xenium replicate.
More information on the Xenium and the study can be also be found on the BioArxiv preprint. You can download the H&E image from the 10x Genomics website as well (specifically, import the Post-Xenium H&E image (TIFF) data).
We incorporate importImageData to convert an image into a pixel-based spatial dataset.
Xen_R1_image <- importImageData("Xenium_FFPE_Human_Breast_Cancer_Rep1_he_image.tif",
sample_name = "XeniumR1image",
image_name = "H&E")
Xen_R1_image
VoltRon Object
XeniumR1image:
Layers: Section1
Assays: ImageData(Main)
vrImages(Xen_R1_image, scale.perc = 2)
This VoltRon object stores the metadata information and localization of all pixels in the image.
head(Metadata(Xen_R1_image))
id assay_id Assay Layer Sample id
<char> <char> <char> <char> <char> <char>
1: tile1_3adf0a Assay1 ImageData Section1 XeniumR1image tile1
2: tile2_3adf0a Assay1 ImageData Section1 XeniumR1image tile2
3: tile3_3adf0a Assay1 ImageData Section1 XeniumR1image tile3
4: tile4_3adf0a Assay1 ImageData Section1 XeniumR1image tile4
5: tile5_3adf0a Assay1 ImageData Section1 XeniumR1image tile5
6: tile6_3adf0a Assay1 ImageData Section1 XeniumR1image tile6
nrow(Metadata(Xen_R1_image))
[1] 5656658