R: Print a Summary of an 'OCG' Object

print.OCG {linkcomm} | R Documentation

## Print a Summary of an `OCG` Object

### Description

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

### Usage

    ## 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

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

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

[Package linkcomm version 1.0-14 Index]