Package: cyjShiny 1.0.42

Augustin Luna

cyjShiny: Cytoscape.js Shiny Widget (cyjShiny)

Wraps cytoscape.js as a shiny widget. cytoscape.js <https://js.cytoscape.org/> is a Javascript-based graph theory (network) library for visualization and analysis. This package supports the visualization of networks with custom visual styles and several available layouts. Demo Shiny applications are provided in the package code.

Authors:Omar Shah [ctb], Paul Shannon [aut], Augustin Luna [aut, cre]

cyjShiny_1.0.42.tar.gz
cyjShiny_1.0.42.tar.gz(r-4.5-noble)cyjShiny_1.0.42.tar.gz(r-4.4-noble)
cyjShiny_1.0.42.tgz(r-4.4-emscripten)cyjShiny_1.0.42.tgz(r-4.3-emscripten)
cyjShiny.pdf |cyjShiny.html
cyjShiny/json (API)

# Install 'cyjShiny' in R:
install.packages('cyjShiny', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

3.69 score 99 scripts 194 downloads 27 exports 41 dependencies

Last updated 2 years agofrom:61f71952b2. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 07 2024
R-4.5-linuxOKNov 07 2024

Exports:addGraphFromDataFrameaddGraphFromJsonFileclearSelectioncyjShinycyjShinyOutputdataFramesToJSONdoLayoutfitfitSelectedgetNodePositionsgetSelectedNodesgraphNELtoJSONhideSelectioninvertSelectionloadNetworkFromJSONFileloadStyleFilereadAndStandardizeJSONNetworkFilereadAndStandardizeJSONStyleFileremoveGraphrenderCyjShinysavePNGtoFileselectFirstNeighborsselectNodessetEdgeAttributessetNodeAttributessetNodePositionsshowAll

Dependencies:base64encBiocGenericsbslibcachemclicommonmarkcrayondigestevaluatefastmapfontawesomefsgenericsgluegraphhighrhtmltoolshtmlwidgetshttpuvjquerylibjsonliteknitrlaterlifecyclemagrittrmemoisemimepromisesR6rappdirsRcpprlangrmarkdownsassshinysourcetoolstinytexwithrxfunxtableyaml

cyjShiny Introduction

Rendered frombasicIntro.Rmdusingknitr::rmarkdownon Nov 07 2024.

Last update: 2023-03-28
Started: 2022-01-20

Readme and manuals

Help Manual

Help pageTopics
Add graph from data.frameaddGraphFromDataFrame
Add graph from JSON fileaddGraphFromJsonFile
Clear selection all node and edge selections removedclearSelection
cyjShiny cyjShinycyjShiny
Standard shiny ui rendering constructcyjShinyOutput
Create a cytoscape.js JSON graph from one or two data.frames.dataFramesToJSON
Layout the current graph using the specified strategy.doLayout
Set zoom and center of the graph display so that graph fills the display.fit
Set zoom and center of the graph display so that the currently selected nodes fill the displayfitSelected
Get node positionsgetNodePositions
Get Selected NodesgetSelectedNodes
Convert R graphNEL object to cytoscape.js JSON.graphNELtoJSON
Hide selection all selected nodes and their edges are hiddenhideSelection
Invert selection all selected nodes and their edges are hiddeninvertSelection
Load a standard cytoscape.js JSON network fileloadNetworkFromJSONFile
Load a standard cytoscape.js style fileloadStyleFile
Read in a JSON network file, identify (or add) elements field return JSONreadAndStandardizeJSONNetworkFile
Read in a JSON file, extract the selector elements, return JSONreadAndStandardizeJSONStyleFile
Remove the current graphremoveGraph
More shiny plumbing - a cyjShiny wrapper for htmlwidget standard rendering operationrenderCyjShiny
Save a png rendering of the current network view to the specified filenamesavePNGtoFile
Select first neighbors of the currently selected nodesselectFirstNeighbors
Select NodesselectNodes
Assign the supplied edge attribute values to the graph structure contained in the browser.setEdgeAttributes
Assign the supplied node attribute values to the graph structure contained in the browser.setNodeAttributes
Set node positions from the supplied data.framesetNodePositions
Show all all selected nodes and their edges are hiddenshowAll