See the evolution of the network with change of cutoff. This function may be usefull to see if the global topology is changed while increasing the cutoff.
# S4 method for network
evolution(
net,
list_nv,
gr = NULL,
color.vertex = NULL,
fix = TRUE,
gif = TRUE,
taille = c(2000, 1000),
label_v = 1:dim(net@network)[1],
legend.position = "topleft",
frame.color = "black",
label.hub = FALSE
)
A HTML page with the evolution of the network.
a network object
a vector of cutoff at which the network should be shown
a vector giving the group of each gene
a vector giving the color of each node
logical, should the position of the node in the network be calculated once at the beginning ? Defaults to TRUE.
logical, TRUE
vector giving the size of the plot. Default to c(2000,1000)
(optional) the name of the genes
(optional) the position of the legend, defaults to "topleft"
(optional) the color of the frame, defaults to "black"
(optional) boolean, defaults to FALSE
Nicolas Jung, Frédéric Bertrand , Myriam Maumy-Bertrand.
Jung, N., Bertrand, F., Bahram, S., Vallat, L., and Maumy-Bertrand, M. (2014). Cascade: a R-package to study, predict and simulate the diffusion of a signal through a temporal gene network. Bioinformatics, btt705.
Vallat, L., Kemper, C. A., Jung, N., Maumy-Bertrand, M., Bertrand, F., Meyer, N., ... & Bahram, S. (2013). Reverse-engineering the genetic circuitry of a cancer cell with predicted intervention in chronic lymphocytic leukemia. Proceedings of the National Academy of Sciences, 110(2), 459-464.
# \donttest{
data(network)
sequence<-seq(0,0.2,length.out=20)
#setwd("inst/animation")
#evolution(network,sequence)
# }
Run the code above in your browser using DataLab