R/resetCytoscapeSession.R

Defines functions resetCytoscapeSession

Documented in resetCytoscapeSession

resetCytoscapeSession <-
function(port.number=1234)
{
	check<-checkCytoscapeRunning(port.number)
	base.url = paste("http://localhost:", toString(port.number), "/v1", sep="")
	reset.url <- paste(base.url,"session",sep="/")
	if (requireNamespace("httr",quietly=TRUE)) {res<-httr::DELETE(reset.url)} else {stop("httr package must be installed to use this function")}
}

Try the stringgaussnet package in your browser

Any scripts or data that you put into this service are public.

stringgaussnet documentation built on May 29, 2017, 10:50 a.m.