Skip to contents

Generate cell location data by modeling the spatial information of existing data.

Usage

cell.loc.model.fc(
  n,
  PointLoc,
  PointAnno,
  PointRegion,
  window_method,
  seed = NULL,
  cell.inh.attr.input1 = NULL,
  same.dis.cutoff = 0.01,
  even.distribution.coef = 0
)

Arguments

n

No. of cells

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.

seed

Random seed.

same.dis.cutoff

Cutoff value for regarding two cells are in the same location (default = 0).

even.distribution.coef

A parameter to avoid cells gathering from each other.