Skip to contents

Generate cell location data by using existing SRT data directly.

Usage

cell.loc.existing.fc(
  PointLoc,
  PointAnno,
  PointRegion,
  window_method = "rectangle"
)

Arguments

PointLoc

The location of input cells on x, y axis.

PointAnno

The cell type annotation of input cells.

PointRegion

The spatial regions of input cells.

window_method

Method for estimating window of cells. Choices include "network", "convex", "convex2", "convex3", convex5", "rectangle". Default is "network", which is most accurate.

Value

Simulated cell spatial map file, which is the same as the reference spatial data.