Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbojan/d3net
Shiny application for interactive network data visualization and exploration
https://github.com/mbojan/d3net
Last synced: 27 days ago
JSON representation
Shiny application for interactive network data visualization and exploration
- Host: GitHub
- URL: https://github.com/mbojan/d3net
- Owner: mbojan
- Created: 2014-07-14T23:36:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-03-31T06:29:53.000Z (over 4 years ago)
- Last Synced: 2024-03-03T06:33:43.464Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 277 KB
- Stars: 7
- Watchers: 5
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#d3net
Framework for creating Shiny applications for network visualization using D3.js JavaScript library.
## Updating to the latest version of d3net
You can download `d3net` package at https://github.com/mbojan/d3net. To install it:
1. Install the release version of `devtools` from CRAN with `install.packages("devtools")`.
2. Follow the instructions below depending on platform.
* **Mac and Linux**:
```R
devtools::install_github("mbojan/d3net")
```* **Windows**:
```R
library(devtools)
build_github_devtools()#### Restart R before continuing ####
install.packages("d3net.zip", repos = NULL)# Remove the package after installation
unlink("d3net.zip")
```
## Package functionsCurrently methods are implemented for objects of class "igraph", "network" and "networkDynamic".
To launch application:
```R
library(d3net)
d3net(dataset)
```
where `dataset` is R igraph, network or networkDynamic object## Examples
To launch examples, use the example datasets provided for each object type.
igraph
```R
library(igraphdata)
data(karate)
d3net(karate)
```--------
network
```R
library(network)
data(flo)
#create network object from sample data
nflo <- network(flo, directed = FALSE)
d3net(nflo)
```--------
networkDynamic
```R
library(networkDynamicData)
data(harry_potter_support)
d3net(harry_potter_support)
```## See also
* [D3.js library](https://www.d3js.org)
* [Shiny framework](https://www.shiny.rstudio.com)