Learn R Programming

ternarynet (version 1.16.0)

plotFit: Network Fit Plot

Description

This function plots the graph corresponding to the minimum scoring network.

Usage

plotFit(ternaryFit, type="interactive", ...)

Arguments

ternaryFit
a ternaryFit object
type
the type of plot to produce. "interactive" produces a plot that can be altered in the plotting window using the tkplot function from the igraph package. "static" produces a standard plot in any R graphics device.
...
additional parameters passed to the plotting function

Value

A plot of the network corresponding to the minimum score (stored in the graphObjMin slot) is plotted.

See Also

Almudevar A, McCall MN, McMurray H, Land H (2011). Fitting Boolean Networks from Steady State Perturbation Data, Statistical Applications in Genetics and Molecular Biology, 10(1): Article 47.

Examples

Run this code
ssObj <- matrix(c(1,1,1,0,1,1,0,0,1),nrow=3)
pObj <- matrix(c(1,0,0,0,1,0,0,0,1),nrow=3)
tnfitObj <- tnetfit(ssObj, pObj)
plotFit(tnfitObj, type="static")

Run the code above in your browser using DataLab