Description Usage Arguments Value
View source: R/hclust.and.louvain.R
Do both hierarchical clustering with hclust And also louvain clustering with igraph
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"
)
|
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 |
An hclust object with an additional 'louvain' attribute (that )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.