as.graph {RITAN} | R Documentation |
wrapper to convert a data.frame from RITAN an igraph graph object
as.graph(mat, p1 = 1, p2 = 3, ...)
mat |
matrix or data frame describing a network |
p1 |
[1] column of first interactor |
p2 |
[3] column of second interactor |
... |
further options passed on to igraph::graph() |
igraph object
## Not run: G <- as.graph(network_list$PID) ## End(Not run)