saveDifferentiationTreeToFile: Save the graphic representation of the differentiation tree.

View source: R/functions.R

saveDifferentiationTreeToFileR Documentation

Save the graphic representation of the differentiation tree.

Description

saveDifferentiationTreeToFile saves the image of the computed differentiation tree into a file.

Usage

saveDifferentiationTreeToFile(TESs, filename)

Arguments

TESs

TES structure computed with getTESs.

filename

Defines the filename for exporting the image of the differentiation tree. The only file extension accepted is "svg", filenames omitting the extensions and those with other extensions will be forced to SVG format.

Value

None

Examples


net <- BoolNet::generateRandomNKNetwork(10, 2)
attractors <- BoolNet::getAttractors(net)
ATM <- getATM(net, attractors)
TESs <- getTESs(ATM)
saveDifferentiationTreeToFile(TESs, tempfile(tmpdir = tempdir(), fileext = ".svg"))


mbraccini/diffeRenTES documentation built on Feb. 2, 2023, 6:58 a.m.