R/applyStyle.R

Defines functions applyStyle

Documented in applyStyle

#' Apply a style to the current network
#'
#' @param style.name (char) name of the style
#' @param base.url cyrest base url for communicating with cytoscape
#' @return server response
#' @export
#' @examples
#' \donttest{
#' applyStyle("myStyle")
#' }

applyStyle<-function(style.name,base.url='http://localhost:1234/v1'){
    commandRun(paste0('vizmap apply styles="',style.name,'"'))
}
cytoscape/r2cytoscape documentation built on May 4, 2019, 6:36 p.m.