Commit 14b03fb3 authored by Daria Zenkova's avatar Daria Zenkova

now images are taken from tmp working directory

parent bbc43f6a
......@@ -65,11 +65,11 @@ pcaPlot <- function(es, columns=c(), rows=c(), c1, c2, size="", colour="", label
g <- g + geom_text_repel(aes_string(label=label))
}
f <- tempfile(pattern="plot",tmpdir="~/morpheus.js/tmp",fileext=".svg")
f <- tempfile(pattern="plot",tmpdir=getwd(),fileext=".svg")
ggsave(f, g)
print(capture.output(str(g)))
return(basename(f))
return(f)
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment