hclust.and.louvain: Do both hierarchical clustering with hclust And also louvain...

Description Usage Arguments Value

View source: R/hclust.and.louvain.R

Description

Do both hierarchical clustering with hclust And also louvain clustering with igraph

Usage

1
2
3
4
5
6
7
8
hclust.and.louvain(
  data,
  nearest.neighbors = 25,
  dist.method = "euclidean",
  hclust.method = "average",
  knn.graph = NULL,
  row.name = "Gene"
)

Arguments

data

A matrix or dataframe to be clustered on rows

nearest.neighbors

The number of neighbors to keep for the knn.graph

dist.method

The distance method (see 'dist')

hclust.method

The hclust method (see 'hclust)

knn.graph

An igraph graph object which will be used instead of k-NN inverse distance for louvain clustering

row.name

The name used for rows in the louvain dataframe

Value

An hclust object with an additional 'louvain' attribute (that )


GreshamLab/labtools documentation built on Feb. 18, 2022, 12:16 p.m.