getLC: Get Link Communities

Description Usage Arguments Value Examples

View source: R/getLC.R

Description

Get Link Communities

Usage

1
getLC(network, hcmethod = "single", verbose = TRUE)

Arguments

network

A data.frame representing network with columns "source", "target" and "weight" (optional).

hcmethod

Hierarchical clustering method. See hclust for details. Recommended to use "single" for unweighted networks and "ward.D2" for weighted networks.

verbose

Print detailed output. Default is TRUE.

Value

An object of class linkcomm. See getLinkCommunities for details.

Examples

1
2
3
4
5
6
7
## Not run: 
ontology.id <- sample_data$GOBP$ID[1:100]
network <- createOntologyNetwork(ontology.id, method = "jaccard", weighted = FALSE)
lc <- getLC(network)
lc

## End(Not run)

altintasali/ontoClust documentation built on Dec. 19, 2021, 1:36 a.m.