Save the graphic representation of the differentiation tree.
saveDifferentiationTreeToFile.Rd
saveDifferentiationTreeToFile
saves the image of the computed differentiation tree into a file.
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.
Examples
net <- BoolNet::generateRandomNKNetwork(10, 2)
attractors <- BoolNet::getAttractors(net)
ATM <- getATM(net, attractors)
TESs <- getTESs(ATM)
saveDifferentiationTreeToFile(TESs, tempfile(tmpdir = tempdir(), fileext = ".svg"))