class1: Finding how many times nearest neighbor of cells in each...

Description Usage Arguments Value Examples

View source: R/class.R

Description

Finding how many times nearest neighbor of cells in each class are belonging to different cluster or class.

Usage

1
class1(clusters, KNN)

Arguments

KNN

Matrix obtained from KNN function with cluster number for top nearest neighbors for each of the cell

Clusters

obtained from hierarchal clustering

Value

Matrix with number of times cells in same class have top k neighbors in other classes

Examples

1

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