exportVisjs: exportVisjs

View source: R/utils.R

exportVisjsR Documentation

exportVisjs

Description

Export vis.js from the network

Usage

exportVisjs(g, rootDir, netDir)

Arguments

g

igraph object

rootDir

root directory path

netDir

directory to store scripts

Details

Export vis.js script, HTML and stylesheet for the graph and image

Value

return nothing, export to a specified directory

Examples

library(igraph)
g <- graph_from_literal( ME1-+ME2 )
V(g)$image <- c("path1","path2")
V(g)$shape <- c("image","image")
V(g)$size <- c(1,1)
## Not run: exportVisjs(g, "./", "net")

noriakis/wcGeneSummary documentation built on May 31, 2024, 4:42 p.m.