DEdistNN: Determine nearest neighbouring clusters

DEdistNNR Documentation

Determine nearest neighbouring clusters

Description

Finds nearest neighbouring clusters from output of DEdist.

Usage

DEdistNN(x)

## S4 method for signature 'numeric'
DEdistNN(x)

## S4 method for signature 'matrix'
DEdistNN(x)

Arguments

d

Output of DEdist

Value

A named integer vector where each name is a cluster and element is the position of its nearest neighbouring cluster in Clusters(sCVd).

Methods (by class)

  • numeric: Nearest neighbours from DEdist vector.

  • matrix: Nearest neighbours from DEdist matrix.

Examples

## Not run: 
numDE_bw_clusts <- DEdist(sCVd=your_sCV_obj,0.01)
DEdistNN(numDE_bw_clusts)

## End(Not run)


BaderLab/scClustViz documentation built on Sept. 10, 2023, 11:51 p.m.