Skip to contents

This is a randomly-generated dataset for the purpose of illustrating the usage of the functions contained in this package. See spagg/data-raw/simdata.R for the code on how to simulate this dataset.

Usage

simdata

Format

## `simdata` A data frame with 38515 rows and 6 columns

PID

Sample ID that groups regions-of-interest (ROI) together

id

ROI ID. This corresponds to an image within a larger sample

cell.id

Enumerates each cell within each ROI. Each row corresponds to a cell.

x

x-coordinate for each cell within each ROI

y

y-coordinate for each cell within each ROI

type

Cell-type label. Options are 'a' and 'b'. These are randomly generated.

out

Sample-level binary outcome. Note that this should be the same within a PID.