Skip to contents

A data frame containing spatial (X, Y) coordinates for each cell or spot in the simulated osmFISH dataset. These coordinates are used for mapping spatial distributions, computing neighborhood features, and visualizing predicted phenotypic risk across the tissue.

Usage

data(osmFISH_bulk_coordinate)

Format

A data frame with rows corresponding to cells or spatial units and two columns:

X

The horizontal spatial coordinate.

Y

The vertical spatial coordinate.

Row names are unique cell or spot identifiers and match those used in the associated `osmFISH_bulk_decon` and `osmFISH_metadata_cellType` objects.

Source

Derived from the spatial layout in the osmFISH simulation dataset used in SpaPheno.

Examples

data(osmFISH_bulk_coordinate)
head(osmFISH_bulk_coordinate)
#>                  X         Y
#> cell_778  18171.23 24590.795
#> cell_1409 19838.08  6456.145
#> cell_3642 11247.43 36626.892
#> cell_1302 19253.23  7389.731
#> cell_1285 19612.53 10793.161
#> cell_769  18374.30 26286.857
plot(osmFISH_bulk_coordinate$X, osmFISH_bulk_coordinate$Y, pch = 20)