Usage
dNetPipeline(g, pval, method = c("pdf", "cdf", "fdr"), fdr = NULL,
nsize = NULL, plot = F, verbose = T)Arguments
g
an object of class "igraph" or "graphNEL"
pval
a vector containing input p-values. For each
element, it must have the name that could be mapped onto
the input graph. Also, the names in input "pval" should
contain all those in the input graph "g", but the reverse
is not necessary
method
the method used for the transformation. It
can be either "pdf" for the method based on the
probability density function of the fitted model, or
"cdf" for the method based on the cumulative distribution
function of the fitted model
fdr
the given FDR threshold. By default, it is set
to NULL, meaning there is no constraint. If given, those
p-values with the FDR below this are considered
significant and thus scored positively. Instead, those
p-values with the FDR above this given FDR are c
nsize
the desired number of nodes constrained to
the resulting module. It is not nulll, a wide range of
FDR will be scanned to find the FDR threshold leading to
the desired number of nodes in the resulting module.
Notably, the given FDR threshold will be overwr
plot
logical to indicate whether the histogram
plot, contour plot and scatter plot should be drawn. By
default, it sets to false for no plotting
verbose
logical to indicate whether the messages
will be displayed in the screen. By default, it sets to
true for display