parseOverlayAttrs | R Documentation |
Parse the xml file for AOI attributes in GeoMx images
parseOverlayAttrs(omexml, annots, labworksheet, ...)
omexml |
xml file from OME-TIFF, can provide path to OME-TIFF and xml will automatically be extracted |
annots |
df of annotations |
labworksheet |
annots are from lab worksheet file |
... |
segCol in annotMatching, if auto detection doesn't work. |
SpatialPosition of AOIs containing metadata and base64encoded positions
image <- downloadMouseBrainImage()
xml <- xmlExtraction(ometiff = image)
muBrainLW <- system.file("extdata", "muBrain_LabWorksheet.txt",
package = "SpatialOmicsOverlay")
muBrainLW <- readLabWorksheet(muBrainLW, slideName = "D5761 (3)")
overlay <- parseOverlayAttrs(omexml = xml,
annots = muBrainLW,
labworksheet = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.