TestSoftPowers.Rd
Compute the scale-free topology model fit for different soft power thresholds
A Seurat object
numeric vector specifying soft powers to test
The type of network to use for network analysis. Options are "signed" (default), "unsigned", or "signed hybrid". This should be consistent with the network chosen for ConstructNetwork
Correlation function for the gene-gene correlation adjacency matrix.
name of the WGCNA experiment
additional parameters passed to WGCNA::pickSoftThreshold
TestSoftPowers aims to find the optimal value of the "soft-power threshold" for co-expression network analysis. For varying values of this soft_power parameter, this function assesses the scale-free topology model fit of the resulting network and the function also calculates other network statistics such as the connectivity. The user may also vary the type of network used and the correlation function. For downstream functions, the lowest soft_power that reaches a fit of 0.8 is selected for network construction, but the user may select their own values.