View source: R/nearestNeighbor.R
getInterCellTypeWeight | R Documentation |
Restrict adjacency relationships to between two subsets of points
getInterCellTypeWeight(cct, nct, weight, pos = NULL, plot = FALSE, ...)
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 |
Boolean matrix where value = 1 if two cells are considered adjacency ie. neighbors, else 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.