Description Usage Arguments Value Examples
Find the nearest neighbour (NN) given a cell and a group of cells;
1 2 |
cell |
An object cell |
cellList |
A list of cell types to be calculated for |
XY_LABELS |
x and y positions of the cell |
The Nearest Neibour Cell distance and calculate the distance
1 2 3 4 5 6 7 | Cell.X.Position=sample (1:100,1)
Cell.Y.Position=sample (1:100,1)
Tcell=data.frame(Cell.X.Position,Cell.Y.Position)
Cell.X.Position=sample(1:500,5,replace=TRUE)
Cell.Y.Position=sample(1:500,5,replace=TRUE)
Tumor.cells=data.frame(Cell.X.Position,Cell.Y.Position)
findNN(Tcell,Tumor.cells,XY_LABELS=c('Cell.X.Position', 'Cell.Y.Position'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.