GetKnnDe: Get the KNN density estimaion

Description Usage Arguments Value Examples

Description

Obtain a density estimation derived from the original manifold, avoiding the lossiness of lower dimensional embeddings

Usage

1
GetKnnDe(nn.matrix)

Arguments

nn.matrix

A list of 2, where the first is a matrix of nn indices, and the second is a matrix of nn distances

Value

a vector where each element is the KNN-DE for that given cell, ordered by row number, in the original input matrix of cells x features

Examples

1
2
ex.knn <- Fnn(wand.combined, input.markers, k = 30)
GetKnnDe(ex.knn)

Sconify documentation built on Nov. 8, 2020, 6:45 p.m.