Learn R Programming

linkcomm (version 1.0-11)

print.OCG: Print a Summary of an OCG Object

Description

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

Usage

# S3 method for 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.

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

Run this code
# NOT RUN {
## Generate graph and extract OCG communities.
g <- swiss[,3:4]
oc <- getOCG.clusters(g)

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

Run the code above in your browser using DataLab