Skip to content

Repository files navigation

SpatialData.plot

R-universe

Visualization capabilities for SpatialData object elements from the spatialdataR: an R interface to Python's spatialdata framework (Marconato et al. (2024)).

DEMO

Resources

Installation

if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
# install the development version from GitHubBiocManager::install("HelenaLC/spatialdataR")
BiocManager::install("HelenaLC/SpatialData.plot")

Quick Start

library(spatialdataR)
zs<- file.path("extdata", "blobs.zarr")
zs<- system.file(zs, package="spatialdataR")
(sd<- readSpatialData(zs))
plotSpatialData() +
plotImage(sd) +
plotLabel(sd, a=0.8) +
plotShape(sd, fill="pink") +
plotPoint(sd, col="genes", size=1.2)

About

Viz. for `SpatialData`

Resources

Stars

7 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages