overcluster: Overcluster by kmeans per cluster

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Overcluster by kmeans per cluster

Usage

1
overcluster(mat, cluster_id, power = 0.15)

Arguments

mat

expression matrix

cluster_id

list of ids per cluster

power

decides the number of clusters for kmeans

Value

new cluster_id list of more clusters

Examples

1
2
3
4
5
res <- overcluster(
    mat = pbmc_matrix_small,
    cluster_id = split(colnames(pbmc_matrix_small), pbmc_meta$classified)
)
length(res)

clustifyr documentation built on Nov. 8, 2020, 5:32 p.m.