adjMat {RBGL} | R Documentation |
adjMat(x, maxn=100)
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 |
to be supplanted by sparse approach in graph package
Vince Carey <stvjc@channing.harvard.edu>
set.seed(123) library(graph) V <- 1:10 M <- 1:4 g1 <- randomGraph(V,M,.3) adjMat(g1)