CalculateDensity {scSpatialSIM}R Documentation

Compute Simulation Heatmaps

Description

Compute Simulation Heatmaps

Usage

CalculateDensity(
  sim_object,
  steps = NULL,
  which = "all",
  step_size = 1,
  cores = 1
)

Arguments

sim_object

object created with CreateSimulationObject

steps

which simulation steps to compute heatmaps for (Tissue, Holes, Cells, or All)

which

which simulation to compute it for

step_size

resolution of heatmap

cores

number of cpu cores

Value

a new SpatSimObj with probability densities calculated


[Package scSpatialSIM version 0.1.3.3 Index]