consensus_clustering_within_resolution: Perform consensus clustering among clusterings of same number...

View source: R/mrtree.R

consensus_clustering_within_resolutionR Documentation

Perform consensus clustering among clusterings of same number of clusters

Description

Perform consensus clustering among clusterings of same number of clusters

Usage

consensus_clustering_within_resolution(
  labelmat,
  ks = NULL,
  sample.weighted = FALSE,
  n.cores = NULL
)

Arguments

labelmat

n-by-m sample by clustering label matrix

ks

vector of length m, number of clustering for each clustering

sample.weighted

boolean, whether adding weights to samples

n.cores

maximum number of cores used for parallel computation

Value

a list containing

labelmat.ccs

consensus clustering results saved in a label matrix

k.idx

idx mapping the original columns to the new columns


pengminshi/MRtree documentation built on March 6, 2023, 4:20 p.m.