summarizeClusters: Show cluster characteristics.

Description Usage Arguments Value Examples

View source: R/edgefinder.R

Description

Takes an object obtained from graphComponents and prints and returns summary statistics.

Usage

1
summarizeClusters(clustersInfo)

Arguments

clustersInfo

Obtained from graphComponents.

Value

A matrix with cluster number, number of nodes, and fivenum summaries for the degrees of nodes in the cluster, and the percentage of edges that are within the cluster.

Examples

1
2
3
4
   data(WT)
   WTres <- edgefinder(WT, ttl = "Wild Type")
   WTComp <- graphComponents(WTres$AdjMat)
   (summtab <- summarizeClusters(WTComp))

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