getInterCellTypeWeight: Filter adjacency weight matrix to between two subsets of...

View source: R/nearestNeighbor.R

getInterCellTypeWeightR Documentation

Filter adjacency weight matrix to between two subsets of points

Description

Restrict adjacency relationships to between two subsets of points

Usage

getInterCellTypeWeight(cct, nct, weight, pos = NULL, plot = FALSE, ...)

Arguments

cct

Cells of cell-type 1

nct

Cells of cell-type 2 (assumed to be mutually exclusive with cct)

weight

Adjacency weight matrix

pos

Position

plot

Boolean of whether to plot

...

Additional plotting parameters

Value

Boolean matrix where value = 1 if two cells are considered adjacency ie. neighbors, else 0


JEFworks/MERingue documentation built on June 11, 2022, 4:16 a.m.