fx_calcDist_cellEmb: Internal function for distance between clusters from cell...

View source: R/deTest.R

fx_calcDist_cellEmbR Documentation

Internal function for distance between clusters from cell embedding

Description

Internal function. See DEdist.

Usage

fx_calcDist_cellEmb(cl, cellEmb)

Arguments

cellEmb

A cell embedding with cells in rows and dimensions in columns.

deVS

List of pairwise DE results from CalcDEcombn

Details

Calculates euclidean distance between centroids of each cluster in the cell embedding used for clustering. Calculated using dist.

Value

A matrix of distances between clusters for each cluster resolution. Interpretable by as.dist to generate a dist object.


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