Skip to contents

This function assigns cells into spatial spots. Each spot may contain zero, one, or multiple cells. Spots with zero cells won't be in the output.

Usage

multicell(expr, spatial, NoSpot = 500, cl = 1)

Arguments

expr

expression profile of the cells

spatial

spatial features like their spatial X and Y coordinates.

NoSpot

Number of targeted spots.

Value

count:

Expression profile of the spots.

spot_feature:

Spot feature such as spot center coordinates and cell allocations within the spots .