% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/panoramic-sim.R
\name{panoramic_simulate_spe}
\alias{panoramic_simulate_spe}
\title{Simulate one SpatialExperiment object for PANORAMIC examples}
\usage{
panoramic_simulate_spe(
  n_cells = 200L,
  sample_id = "sample_1",
  cell_types = c("A", "B", "C"),
  scenario = c("random", "colocalized"),
  bounds = c(0, 100),
  center = c(50, 50),
  cluster_sd = 18,
  n_genes = 10L,
  seed = NULL
)
}
\arguments{
\item{n_cells}{Integer number of cells to simulate.}

\item{sample_id}{Character sample identifier stored in \code{colData}.}

\item{cell_types}{Character vector of cell-type labels.}

\item{scenario}{Character string, either \code{"random"} or
\code{"colocalized"}. In \code{"colocalized"}, the first two cell types
are enriched near the center.}

\item{bounds}{Numeric length-2 vector giving minimum and maximum coordinate.}

\item{center}{Numeric length-2 vector giving center for colocalized pattern.}

\item{cluster_sd}{Numeric standard deviation for central clustering.}

\item{n_genes}{Integer number of toy genes in the counts matrix.}

\item{seed}{Optional integer for reproducibility.}
}
\value{
A \code{SpatialExperiment} object with simulated coordinates and
cell types.
}
\description{
Create a toy \code{SpatialExperiment} with simple spatial patterns that can
be used in package examples, vignettes, and tests.
}
\examples{
spe <- panoramic_simulate_spe(
  n_cells = 120,
  sample_id = "sample_1",
  scenario = "colocalized",
  seed = 1
)
spe

}
