collapsedGraph: Return an adjacency matrix after collapsing clusters into...

Description Usage Arguments Value Examples

View source: R/edgefinder.R

Description

Takes an object obtained from graphComponents and prints summary statistics.

Usage

1
collapsedGraph(A, clustersInfo)

Arguments

A

An adjacency Matrix.

clustersInfo

Obtained from graphComponents

Value

A weighted adjacency matrix between clusters and unclustered nodes.

Examples

1
2
3
4
5
6
   data(WT)
   WTres <- edgefinder(WT, ttl = "Wild Type")
   rownames(WTres$AdjMat) = rownames(WT)
   WTComp <- graphComponents(WTres$AdjMat)
   Adj1 <- collapsedGraph(WTres$AdjMat, WTComp) > 0
   plotBitmapCC(Adj1,showMinDegree = 2)

haimbar/edgefinder documentation built on Dec. 20, 2021, 2:45 p.m.