Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

writeMIDAS

Write a CNOlist structure into a MIDAS file


Description

This function takes a CNOlist structure (output of makeCNOlist and readMIDAS) and save it a MIDAS format.

Usage

writeMIDAS(CNOlist, filename,  timeIndices=NULL, overwrite=FALSE)

Arguments

CNOlist

a CNOlist structure

filename

a filename. Not overwritten if it exists already

timeIndices

select subset of the times to be saved. Works with indices (not time values)

overwrite

overwrite the file if it exists already (Default is FALSE)

Author(s)

T. Cokelaer

See Also

Examples

data(CNOlistToy)
   writeMIDAS(CNOlistToy, 'test.csv')
   readMIDAS('test.csv')
   writeMIDAS(CNOlistToy, 'test.csv', timeIndices=c(1,2), overwrite=TRUE)

CellNOptR

Training of boolean logic models of signalling networks using prior knowledge networks and perturbation data

v1.36.0
GPL-3
Authors
T.Cokelaer, F.Eduati, A.MacNamara, S.Schrier, C.Terfve, E.Gjerga, A.Gabor
Initial release
2018-11-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.