R/omics_network.R
evolution-omics_network-method.Rd
See the evolution of the network with change of cutoff
a omics_network object
a vector of cutoff at which the network should be shown
a vector giving the group of each genee. Defaults to NULL
a vector giving the color of each nodee. Defaults to NULL
a vector giving the color of each edge. Defaults to NULL
logical, should the position of the node in the network be calculated once at the beginning ? Defaults to TRUE.
vector giving the size of the plot. Defaults to c(2000,1000)
vector giving the labels of each vertex. Defaults to 1:dim(net@omics_network)[1]
string giving the position of the legend. Defaults to "topleft"
string giving the color of the frame of the plot. Defaults to "black"
label hubs. Defaults to FALSE
Directory to save the animation. No default value since it must be specified by the user.
Type of animation. Defaults to "html"
string giving the position of the legend. Defaults to "topleft"
A HTML page with the evolution of the network.
Several types of outputs are available using the type.ani option.
html
latex (requires latex)
swf (requires swftools)
video (requires ffmpeg)
gif
manual_gif
# \donttest{
data(network)
sequence<-seq(0,0.2,length.out=20)
#Change the destdir to have the animation created where you want.
destdir = tempdir()
#Example of use of the evolution method with an html output.
evolution(network,sequence,type.ani = "html", outdir=destdir)
#> HTML file created at: index.html
# }
if (FALSE) {
#Example of use of the evolution method with an animated gif output.
evolution(network,sequence,type.ani = "gif", outdir=destdir)
}