Considering the class of the argument which is passed to plot, the graphical output differs.
# S4 method for micro_array,ANY
plot(x, y, ...)
# S4 method for network,ANY
plot(
x,
y,
choice = "network",
nv = 0,
gr = NULL,
ini = NULL,
color.vertex = NULL,
video = TRUE,
weight.node = NULL,
ani = FALSE,
taille = c(2000, 1000),
label_v = 1:dim(x@network)[1],
horiz = TRUE,
legend.position = "topleft",
frame.color = "black",
label.hub = FALSE,
...
)
# S4 method for micropredict,ANY
plot(
x,
time = NULL,
label_v = NULL,
frame.color = "white",
ini = NULL,
label.hub = FALSE,
edge.arrow.size = 0.7,
edge.thickness = 1
)
a micro_array object, a network object or a micropredict object
optional and not used if x is an appropriate structure
additional parameters
what graphic should be plotted: either "F" (for a representation of the matrices F) or "network".
the level of cutoff. Defaut to `0`.
a vector giving the group of each gene
using the ``position'' function, you can fix the position of the nodes.
a vector defining the color of the vertex.
if ani is TRUE and video is TRUE, the result of the animation is saved as an animated GIF.
nodes weighting. Defaults to `NULL`.
animated plot?
vector giving the size of the plot. Default to `c(2000,1000)`.
vector defining the vertex labels.
landscape? Defaults to `TRUE`.
position of the legend.
color of the frames.
logical ; if TRUE only the hubs are labeled.
sets the time for plot of the prediction. Defaults to `NULL`
size of the arrows ; default to 0.7.
edge thickness ; default to 1.
a micro_array object
a vector of cutoff at which the network should be shown
a network object
Optionnal arguments:
a vector giving the group of each gene
what graphic should be plotted: either "F" (for a representation of the matrices F) or "network".
the level of cutoff. Defaut to 0.
using the ``position'' function, you can fix the position of the nodes
a vector defining the color of the vertex
animated plot?
vector giving the size of the plot. Default to c(2000,1000)
if ani is TRUE and video is TRUE, the animation result is a GIF video
vector defining the vertex labels
position of the legend
color of the frames
logical ; if TRUE only the hubs are labeled
size of the arrows ; default to 0.7
edge thickness ; default to 1.
a micropredict object
Optionnal arguments: see plot for network
data(Net)
plot(Net)
#> Loading required package: igraph
#>
#> Attaching package: ‘igraph’
#> The following object is masked from ‘package:Cascade’:
#>
#> compare
#> The following objects are masked from ‘package:stats’:
#>
#> decompose, spectrum
#> The following object is masked from ‘package:base’:
#>
#> union
data(M)
plot(M)
data(Selection)
data(network)
nv<-0.11
plot(network,choice="network",gr=Selection@group,nv=nv,label_v=Selection@name,
edge.arrow.size=0.9,edge.thickness=1.5)