mergeCommunities: Merges linked community clusters that have the most similar...

Description Usage Arguments Details Value

View source: R/base.R

Description

This merging function recursively iterates through all of the clusters and performs a pair-wse Jaccard comparision between all clusters. Those with the highest Jaccard score that are above the given threshold (i.e. deafult of 0.5) are candidates for merging.

Usage

1
mergeCommunities(lc, th = 0.5)

Arguments

lc

A linkcomm object.

th

Threshold to be used by 'mergeClusters'. Lower threshold results in merging being more common.

Details

This is a helper function for the findLinkedCommunities() function and is not meant to be called on its own.

Value

A list were each element of the list is the set of nodes and edges of the merged clusters.


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