KNN: Getting cluster numbers for each of the nearest neighbor of a...

Description Usage Arguments Value Examples

View source: R/KNN.R

Description

Getting cluster numbers for each of the nearest neighbor of a cell

Usage

1
KNN(pathwayscores, index, clusters)

Arguments

pathwayscores

Raw adjusted p-value matrix

index

indices of nearest neighbours obtained from index function

clusters

Clusters obtained from hierarchal clustering

Value

Matrix having cluster or class number for each of the top nearest neighbor of individual cell

Examples

1
KNN()

reggenlab/UniPath documentation built on Nov. 26, 2020, 8:09 a.m.