Skip to contents

Creates a spatial effect multiplier for gene expression.

Usage

generate_spatial_pattern(coords, pattern_type)

Arguments

coords

Matrix of spatial coordinates (spots × 2).

pattern_type

Type of pattern.

Value

Numeric vector of effect sizes (multipliers) for each spot.