.make_vertices {BayesSpace} | R Documentation

## Make vertices outlining spots/subspots for geom_polygon()

### Description

Make vertices outlining spots/subspots for geom_polygon()

### Usage

    .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

[Package BayesSpace version 1.2.1 Index]