Usage
pickHardThreshold(
data,
dataIsExpr,
RsquaredCut = 0.85,
cutVector = seq(0.1, 0.9, by = 0.05),
moreNetworkConcepts = FALSE,
removeFirst = FALSE, nBreaks = 10,
corFnc = "cor", corOptions = "use = 'p'")
pickHardThreshold.fromSimilarity(
similarity,
RsquaredCut = 0.85,
cutVector = seq(0.1, 0.9, by = 0.05),
moreNetworkConcepts=FALSE,
removeFirst = FALSE, nBreaks = 10)
Arguments
data
expression data in a matrix or data frame. Rows correspond to samples and columns to
genes.
dataIsExpr
logical: should the data be interpreted as expression (or other numeric) data, or as a
similarity matrix of network nodes?
similarity
similarity matrix: a symmetric matrix with entries between -1 and 1 and unit diagonal.
RsquaredCut
desired minimum scale free topology fitting index $R^2$.
cutVector
a vector of hard threshold cuts for which the scale free topology fit indices
are to be calculated.
moreNetworkConcepts
logical: should additional network concepts be calculated? If TRUE
,
the function will calculate how the network density, the network heterogeneity, and the network
centralization depend on the power. For the definition of these additional n
removeFirst
should the first bin be removed from the connectivity histogram?
nBreaks
number of bins in connectivity histograms
corFnc
a character string giving the correlation function to be used in adjacency calculation.
corOptions
further options to the correlation function specified in corFnc
.