export_geNet_result: Export geNet results

Description Usage Arguments Value Examples

View source: R/geNet_algorithm.R

Description

function to export the geNet output. It is automatically called by the geNet() function if export_results=T

Usage

1
export_geNet_result(geNet_output, out_directory, format = "csv")

Arguments

geNet_output

the object generated by the geNet function. It is a list of two ffdf objects.

  • nodes: ffdf object containing the information about the nodes

  • edges: ffdf object containing the information about the edges

out_directory

the directory to write the output

format

the user can export the geNet output in .csv format or in .ffdata format. In both cases, two files are generated. One containing the nodes information (e.g., clustering association), and the other one containing edges information (e.g.,connections weight). Default to "csv".

Value

In case of the csv format, two csv files are generated in the output directory

Examples

1
2
3
4
## Not run: export_geNet_result(geNet_output,out_directory="./",format="csv") 
# export output in current working directory "./"

## End(Not run)

haneylab/geNet documentation built on Oct. 4, 2020, 8:40 a.m.