Nothing
##function to convert a graphNEL object to an igraph
##g: The graphNEL object to be converted
##keep.weights: a flag to indicate whether weights should be considered when performing the conversion (DEFAULT= FALSE)
.G2IG <- function(g, keep.weights=FALSE){
if(any(unlist(edgeWeights(g))>1) & keep.weights)
warning("When using this conversion the edge weight information will be ignored")
ig <- igraph::igraph.from.graphNEL(g, weight = keep.weights)
return(ig)
}
##helper function to check whether a graph is unweighted and undirected
##this mode is currently the only one supported by QuACN
.validateGraph <- function(g){
return(!edgemode(g)=="directed" & !any(unlist(edgeWeights(g))>1))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.