Description Usage Arguments Value

Compute for each vector the weights to apply to it's K nearest neighbors

1 2 3 4 5 6 7 |

`object` |
tree to use for KNN |

`K` |
Number of neighbors to consider. |

`lcaKNN` |
whether to use LCA based KNN (cluster by minimum size), if false defaults to cophenetic distance (random tie breaking). WARNING: lcaKNN doesn't perform well with broad multifurcations |

a list of two items: indices: matrix, cells X neighbors Each row specifies indices of nearest neighbors weights: matrix, cells X neighbors Corresponding weights to nearest neighbors

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.