Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/writeFilesForKiwi.R
Given a single object or a list of objects of class GSAres, extract the information needed for visualization in the external python function Kiwi and write it to files that can be used as input.
1 | writeFilesForKiwi(gsaRes, label = "", overwrite = FALSE)
|
gsaRes |
either an object of class |
label |
a character string that will be appended to the names of the resulting files. |
overwrite |
a logical, whether or not to overwrite existing files with identical names. |
This function takes the result from a gene set analysis as returned by the
runGSA
function and writes three files that can be directly
used as input to Kiwi. Kiwi is a external function i python that can be used
for network-based visualization of the GSA results (http://sysbio.se/kiwi).
Three files are written in the current directory. GSC.txt contains the gene-gene set associations, i.e. the gene set collection. GLS.txt contains the gene-level statistics. GSS.txt contains the gene set statistics.
Leif Varemo piano.rpkg@gmail.com
piano, runGSA
, networkPlot
1 2 3 4 5 | # Load some example GSA results:
data(gsa_results)
# Write the files:
writeFilesForKiwi(gsa_results,"exp1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.