Usage
cluster(graph, method = c("FN", "MCL", "LINKCOMM", "MCODE"), expansion = 2, inflation = 2, hcmethod = "average", directed = FALSE, outfile = NULL, plot = TRUE, layout = c("reingold.tilford", "circle", "random", "fruchterman.reingold", "sphere", "kamada.kawai", "lgl"), ...)
Arguments
method
Clustering method, possible values are FN
, MCL
, LINKCOMM
and MCODE
.
expansion
Numeric value > 1 for the expansion parameter, if method
is MCL
. See MCL for more information.
inflation
Numeric value > 0 for the inflation power coefficient, if method
is MCL
. See MCL for more information.
hcmethod
A character string naming the hierarchical clustering method to use. Default value is average
. See linkcomm for more information.
directed
Logical value, indicating whether the network is directed (if TRUE
) or not (if FLASE
).
outfile
File to save the clustering result.
plot
Logical value, indicating whether to plot summary output (if TRUE
) or not (if FLASE
).
layout
Mode of the layout, possible values are fruchterman.reingold
, reingold.tilford
, random
, circle
, kamada.kawai
, lgl
and sphere
. See igraph for more information.