Description Usage Arguments Details Value Author(s) References See Also Examples
Family NetSI of stability indicators for network inference methods. The
function computes a suite of 4 stability indicators of data x
based on network distances.
1 2 |
x |
numerical matrix or data.frame to be used for network inference. |
indicator |
|
d |
|
adj.method |
|
method |
|
k |
3 (default) numeric value indicating the number of subset the
data will be splitted in. In case |
h |
20 (default), numeric value indicates the number of
iterations the |
n.cores |
|
save |
|
verbose |
|
... |
Additional arguments to be passed to the downstream
functions. Not all parameters are used by all functions. See
function
|
This function computes a suite of 4 stability indicators. It is based
on network inference method function mat2adj
and network
distance function netdist
.
Parameters passed through ... will be used by the low-level
functions mat2adj
and netdist
.
Indicators:
S
: is the global stability indicator. It asses the
pertubations of the network given by the resampling: in particular it
account for the distance between the network inferred using all
samples and the network inferred on a subsampling.
SI
: is the local stability indicator. It provides a
measure of the perturbations between different subsamplings. It
computes the pairwise distances between networks inferred on different subsamplings.
Sw
: is the edge stability indicator. It asses the
stability of the edges inferred in different subsamplings. In case
of a binary network it take into account only the presence/absence of
the link, if a "weight" attribute is provided it asses the
perturbation of the edge weight given the presence/absence on the
given subsampling.
Sd
: is the degree stability indicator. It asses the
variations of the node degree given a subsampling perturbation on
the data.
Parallel computation is provided automatically through the functions
available in the parallel package included by default from R
2.15. Support for parallel computation is available only on multi-core
machines not on high performace computing facility.
If n.cores
is set to NULL
it searches for multiple cores
on the machine, if it finds more than 2 cores the computation is
parallelized using the maximum number of cores available - 1.
If n.cores
is a numeric value it checks if the number of cores provided
is suitable for the machine where R is running. If the number of
cores requested is bigger than the available cores n.cores
will
be set to NULL
, otherwise the computation will be equally
distributed on the number of cores provided.
In case indicator
is set to all
or SI
, parameter
n.cores
will pass to the low level function which compute
the mutual distances, netdist.
A list with the followind elements:
If save=TRUE
:
call |
character. Function call |
ADJlist |
A list with the adjacency matrices computed in the resampling scheme. |
S |
The value of the global indicator "S" |
SI |
The value of the global internal indicator "SI" |
Sw |
The value of the edge weight stability indicator "Sw" |
Sd |
The value of the node stability indicator "Sd" |
S_boot |
A numerical vector with the value of the stability indicator S for each resampling. |
SI_boot |
A numerical vector with the value of the stability indicator SI for each combination of pairs within all the resampling. |
Sw_boot |
A numerical matrix. Each row contains the value of the weight of a particular edge on different resampling splits. |
Sd_boot |
A numerical matrix number_of_resampling X number_of_nodes. Each column contain the degree of a node on different resampling splits. |
If save=FALSE
elements call
, ADJlist
, ADJ
,
S_boot
, SI_boot
, Sw_boot
and Sd_boot
will
not be provided. For S
and SI
the mean over the
resampling splits is computed, instead for the element Sw
and
Sd
the range/mean is computed over resamplings.
Michele Filosi, Samantha Riccadonna
M. Filosi, R. Visintainer, S. Riccadonna, G. Jurman, C. Furlanello
(2014)Stability Indicators in Network Reconstruction,
PLOSONE
netdist
, mat2adj
, WGCNA
, minet
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.