print.OCG: Print a Summary of an 'OCG' Object

Description Usage Arguments Value Author(s) References Examples

View source: R/OCG_main.R

Description

This function prints summary statistics for an OCG object to the screen.

Usage

1
2
## S3 method for class 'OCG'
print(x, ...)

Arguments

x

An object of class OCG.

...

Further arguments passed to or from other methods.

Value

Prints summary data to the screen.

Author(s)

Alex T. Kalinka alex.t.kalinka@gmail.com

References

Kalinka, A.T. and Tomancak, P. (2011). linkcomm: an R package for the generation, visualization, and analysis of link communities in networks of arbitrary size and type. Bioinformatics 27, 2011-2012.

Examples

1
2
3
4
5
6
## Generate graph and extract OCG communities.
g <- swiss[,3:4]
oc <- getOCG.clusters(g)

## Print summary statistics to the screen.
print(oc)

alextkalinka/linkcomm documentation built on Feb. 11, 2021, 4:53 a.m.