clusterEdges: Performs hierarchical clustering of edges in a network based...

Description Usage Arguments Value

View source: R/SSC.R

Description

This function uses the dist function to calucate a distance and the hclust function to generate the dendrogram.

Usage

1
2
3
4
5
6
clusterEdges(
  net,
  distMethod = "manhattan",
  hclustMethod = "ward.D2",
  strict = TRUE
)

Arguments

net

A network data frame containing the KINC-produced network. The loadNetwork function imports a dataframe in the correct format for this function.

distMethod

The method to be provided to the dist function.

hclustMethod

The method to be provided to the hclust method.

strict

If TRUE then all values in the netwrok sample string other than 1 are converted to 0. This means that numeric values indicating missingness or removal as outliers are considered as 0.

Value

An object of class hclust which describes the tree produced by the clustering process.


SystemsGenetics/KINC.R documentation built on Nov. 10, 2021, 9:22 p.m.