save_results {hipathia} | R Documentation

## Save results to folder

### Description

Saves results to a folder. In particular, it saves the matrix of subpathway values, a table with the results of the provided comparison, the accuracy of the results and the .SIF and attributes of the pathways.

### Usage

    save_results(results, comp, metaginfo, output_folder = NULL,
      path = NULL)

### Arguments

`results` | Results object as returned by the `hipathia` function.
`comp` | Comparison as returned by the `do_wilcoxon` function.
`metaginfo` | Pathways object
`output_folder` | Name of the folder in which the results will be stored.
`path` | Absolute path to the parent directory in which 'output_folder' will be saved. If it is not provided, it will be created in a temp folder.

### Value

Creates a folder in disk in which all the information to browse the pathway results is stored.

### Examples

    data(results)
    data(comp)
    pathways <- load_pathways(species = "hsa", pathways_list = c("hsa03320",
    "hsa04012"))
    save_results(results, comp, pathways, "output_results")

[Package hipathia version 2.10.0 Index]