mosaicIntPlot: Mosaic plot

View source: R/rasterization.R

mosaicIntPlotR Documentation

Mosaic plot

Description

Visualization of the rasterization results and label coding of the sample.

Usage

mosaicIntPlot(sampleInfo, mosaicIntegration)

Arguments

sampleInfo

A dataset of a human breast cancer sample containing the pixel information and cluster labels for each barcode.

mosaicIntegration

A raster object converted from a labeled spatial tissue map.

Value

A mosaic plot with labeled pixels.

Examples

fpath <- system.file("extdata", "dataframe.rda", package="stJoincount")
load(fpath)
mosaicIntegration <- rasterizeEachCluster(humanBC)
mosaicIntPlot(humanBC, mosaicIntegration)


Nina-Song/stJoincount documentation built on Oct. 23, 2022, 4:55 p.m.