cell_proximity_spots: cell_proximity_spots

View source: R/spatial_interaction_spot.R

cell_proximity_spotsR Documentation

cell_proximity_spots

Description

Compute cell-cell interactions observed value for internal and external spots

Usage

cell_proximity_spots(cell_IDs, pairs_external, dwls_values)

Arguments

cell_IDs

cell_IDs to calculate internal cell-type/cell-type interactions

dwls_values

data.table of cell type enrichment in each spot and multiply by cell number in each spot

pairs

data.table of paired spots. Format: cell_ID1, cell_ID2, N

Value

List of cell proximity observed value in data.table format. Columns: unified_int, type_int, V1, external, internal.


RubD/Giotto documentation built on April 29, 2023, 5:52 p.m.