evolution-methods: See the evolution of the network with change of cutoff

Description Usage Arguments Details Value Author(s) Examples

Description

See the evolution of the network with change of cutoff

Usage

1
	evolution(net,list_nv,...)

Arguments

net

a network object

list_nv

a vector of cutoff at which the network should be shown

...

Optionnal arguments:

gr

a vector giving the group of each genee. Defaults to NULL

color.vertex

a vector giving the color of each nodee. Defaults to NULL

color.edge

a vector giving the color of each edge. Defaults to NULL

fix

logical, should the position of the node in the network be calculated once at the beginning ? Defaults to TRUE.

size

vector giving the size of the plot. Defaults to c(2000,1000)

label_v

vector giving the labels of each vertex. Defaults to 1:dim(net@network)[1]

legend

string giving the position of the legend. Defaults to "topleft"

frame.color

string giving the color of the frame of the plot. Defaults to "black"

label.hub

label hubs. Defaults to FALSE

outdir

Directory to save the animation. No default value since it must be specified by the user.

type.ani

Type of animation. Defaults to "html"

Details

Several types of outputs are available using the type.ani option.

Value

A HTML page with the evolution of the network.

Author(s)

Bertrand Frederic, Myriam Maumy-Bertrand.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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)

#Example of use of the evolution method with an animated gif output.
evolution(network,sequence,type.ani = "gif",outdir=destdir)

fbertran/Patterns documentation built on Dec. 4, 2019, 1:12 p.m.