View source: R/Moduleconstruction.R
SoftThresholdScaleGraph | R Documentation |
pick soft thresholding powers for WGCNA analysis and plot
SoftThresholdScaleGraph(data, xlab = "Soft Threshold (power)", ylab = "Scale Free Topology Model Fit, signed R^2", main = "Scale independence", filename = NULL)
data |
protein quantification data. row is sample. column is protein ID. |
xlab |
x axis label |
ylab |
y axis label |
main |
plot title |
filename |
the filename of plot. The default value is |
pick soft thresholding powers for WGCNA analysis and plot. The function is also can replaced by "pickSoftThreshold
" function in WGCNA package.
A list with the following components:
powerEstimate |
the lowest power fit for scale free topology. |
fitIndices |
a data frame containing the fit indices for scale free topology. |
Kefu Liu
pickSoftThreshold
in WGCNA package.
#it will take some times data(imputedData) data <- imputedData logD <- data$log2_value rownames(logD) <- data$inf$ori.ID if (requireNamespace("WGCNA", quietly = TRUE)) sft <- SoftThresholdScaleGraph(t(logD))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.