Skip to content

ryanbressler/R.Lichen

Repository files navigation

Copyright (C) 2003-2009 Institute for Systems Biology
                        Seattle, Washington, USA.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; If not, see <http://www.gnu.org/licenses/>.
=======================================================================

R.Lichen is a R package for visualizing networks in the web browser.

Basic useage is:
bionetwork(adjList,list(height=height, width=width,padding=80 ... additional options))

To visualize a graphNEL n:
adjList = matrix(unlist(strsplit(edgeNames(n),"~")),ncol=2,byrow=TRUE)
adjList = cbind(adjList,TRUE)
adjList=cbind(1:nrow(adjList),adjList)
colnames(adjList) = c("edge_id","interactor1","interactor2","directed")
bionetwork(adjList,list(layout="extendedForceDirected", height=height, width=width,padding=80))

It is in a pre release state, please see test.R, gbmbase.R, stresstest.R for 
examples of its use and http://github.com/ryanbressler/Lichen for 
further documentation of options that may be passed in the options list.

About

Lichen (flash/javascript/flare) based graph visualization for R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published