dot-make_vertices: Make vertices outlining spots/subspots for geom_polygon()

Description Usage Arguments Value

Description

Make vertices outlining spots/subspots for geom_polygon()

Usage

1
.make_vertices(sce, fill, platform, is.enhanced)

Arguments

sce

SingleCellExperiment with row/col in colData

fill

Name of a column in colData(sce) or a vector of values to use as fill for each spot

platform

"Visium" or "ST", used to determine spot layout

is.enhanced

If true, sce contains enhanced subspot data instead of spot-level expression. Used to determine spot layout.

Value

Table of (x.pos, y.pos, spot, fill); where spot groups the vertices outlining the spot's border


BayesSpace documentation built on Nov. 8, 2020, 8:03 p.m.