adjMat {RBGL}R Documentation

adjacency matrix generation for Bioconductor::graph objects

Description

Usage

adjMat(x, maxn=100)

Arguments

x x: an instance of Bioconductor graph
maxn maxn: smallest number of nodes beneath which no query needs to be answered to proceed with matrix construction

Details

to be supplanted by sparse approach in graph package

Value

Note

Author(s)

Vince Carey <stvjc@channing.harvard.edu>

References

See Also

Examples

set.seed(123)
library(graph)
V <- 1:10
M <- 1:4
g1 <- randomGraph(V,M,.3)
adjMat(g1)

[Package Contents]