Description Usage Arguments Value Examples

Takes the KNN function output and the cell data, and makes list where each element is a matrix of cells in the KNN and features.

1 | ```
MakeKnnList(cell.data, nn.matrix)
``` |

`cell.data` |
tibble of cells by features |

`nn.matrix` |
list of 2. First element is cells x 100 nearest neighbor indices. Second element is cells x 100 nearest neighbor distances |

a list where each element is the cell number from the original cell.data tibble and a matrix of cells x feautures for its KNN

1 2 | ```
ex.knn <- Fnn(wand.combined, input.markers, k = 30)
knn.list <- MakeKnnList(wand.combined, ex.knn)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.