reorder_cl: Reorder cluster based on hiearchical clustering of clusters...

View source: R/cluster.R

reorder_clR Documentation

Reorder cluster based on hiearchical clustering of clusters based on average cluster values for the input data matrix

Description

Reorder cluster based on hiearchical clustering of clusters based on average cluster values for the input data matrix

Usage

reorder_cl(cl, dat)

Arguments

cl

A vector of cluster membership with cells as names, and cluster id as values.

dat

The data matrix with cells as columns.

Value

Reorder cluster membership vector. The cluster id start from 1 to the number of clusters.


AllenInstitute/scrattch.hicat documentation built on Oct. 20, 2023, 6:55 a.m.