whichTissueSection | R Documentation |
Checks to which tissue section the spatial annotation belongs. (Only required in case of multiple tissue sections per sample.)
whichTissueSection(object, id)
object |
An object of class |
id |
Character value. The spatial annotation ID of interest. |
Character value.
library(SPATA2)
object <- example_data$object_lmu_mci_diet
object <- identifyTissueOutline(object)
plotSurface(object, color_by = "tissue_section") +
ggpLayerSpatAnnOutline(object, ids = c("inj1", "inj2"))
whichTissueSection(object, id = "inj1")
whichTissueSection(object, id = "inj2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.