getLargestSubgraph: A function to extract the largest subgraph from a graphNEL...

Description Usage Arguments Value Note Author(s) References Examples

Description

In QuACN most methods depend on the analyzed graph to be connected. This function extracts the largest connected component from a graphNEL object.

Usage

1

Arguments

g

A graphNEL object of which the largest connected component has to be extracted.

Value

The largest connected graphNEL object from g

Note

Code taken from Hahne et al. "Bioconductor Case Studies"

Author(s)

Karl Kugler

References

Florian Hahne, Wolfgang Huber, Robert Gentleman, Seth Falcon "Bioconductor Case Studies", Springer, 2008

Examples

1
2
3
4
set.seed(667)
g <- randomGraph(paste("A",1:100, sep=""), 1:4, p=0.03, weights=FALSE)
lcc <- getLargestSubgraph(g)
lcc


Search within the QuACN package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.