CytoscapeFile: CytoscapeFile:

Description Usage Arguments Value Examples

View source: R/cytoscape_functions.R

Description

Converts a correlation dataframe object into a format suitable for cytoscape and saves as a csv file.

Usage

1
CytoscapeFile(cor.dataset, save = TRUE, filename = NULL, nthreads = NULL)

Arguments

cor.dataset

A NxN dataframe of correlation values created by CorAnalysisDataset or CorAnalysisClusterDataset

save

Logical. If TRUE then the dataframe will be saved as a csv file.

filename

String. The name for the saved file.

nthreads

Number of processor threads for the process. If not specified then the maximum number of logical cores are used.

Value

Dataframe object in the new format.

Examples

1
2
correlation.df <- CorAnalysisDataset(Laurasmappings, nthreads = 2)
CytoscapeFile(correlation.df, nthreads = 2)

nathansam/CircadianTools documentation built on Dec. 26, 2019, 11:30 a.m.