run.cutree: run cutree on rows of the given matrix

View source: R/utils.R

run.cutreeR Documentation

run cutree on rows of the given matrix

Description

run cutree on rows of the given matrix

Usage

run.cutree(
  dat,
  method.hclust = "ward.D2",
  method.distance = "spearman",
  k = NULL,
  ...
)

Arguments

dat

data frame or matrix;

method.hclust

character; clustering method for hclust [default: "ward.D2"]

method.distance

character; distance method for hclust [default: "spearman"]

k

integer; number of clusters [default: NULL]

...

parameters passed to cutree

Details

cutree on rows of the given matrix

Value

a matrix with dimention as input ( samples in rows and variables in columns)


Japrin/sscVis documentation built on March 5, 2025, 10:23 a.m.