pickSoftThreshold | R Documentation |

Analysis of scale free topology for multiple soft thresholding powers. The aim is to help the user pick an appropriate soft-thresholding power for network construction.

pickSoftThreshold( data, dataIsExpr = TRUE, weights = NULL, RsquaredCut = 0.85, powerVector = c(seq(1, 10, by = 1), seq(12, 20, by = 2)), removeFirst = FALSE, nBreaks = 10, blockSize = NULL, corFnc = cor, corOptions = list(use = 'p'), networkType = "unsigned", moreNetworkConcepts = FALSE, gcInterval = NULL, verbose = 0, indent = 0) pickSoftThreshold.fromSimilarity( similarity, RsquaredCut = 0.85, powerVector = c(seq(1, 10, by = 1), seq(12, 20, by = 2)), removeFirst = FALSE, nBreaks = 10, blockSize = 1000, moreNetworkConcepts=FALSE, verbose = 0, indent = 0)

`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? |

`weights` |
optional observation weights for |

`similarity` |
similarity matrix: a symmetric matrix with entries between 0 and 1 and unit diagonal. The only
transformation applied to |

`RsquaredCut` |
desired minimum scale free topology fitting index |

`powerVector` |
a vector of soft thresholding powers for which the scale free topology fit indices are to be calculated. |

`removeFirst` |
should the first bin be removed from the connectivity histogram? |

`nBreaks` |
number of bins in connectivity histograms |

`blockSize` |
block size into which the calculation of connectivity should be broken up. If not given,
a suitable value will be calculated using function |

`corFnc` |
the correlation function to be used in adjacency calculation. |

`corOptions` |
a list giving further options to the correlation function specified in |

`networkType` |
network type. Allowed values are (unique abbreviations of) |

`moreNetworkConcepts` |
logical: should additional network concepts be calculated? If |

`gcInterval` |
a number specifying in interval (in terms of individual genes) in which garbage
collection will be performed. The actual interval will never be less than |

`verbose` |
integer level of verbosity. Zero means silent, higher values make the output progressively more and more verbose. |

`indent` |
indentation for diagnostic messages. Zero means no indentation, each unit adds two spaces. |

The function calculates weighted networks either by
interpreting `data`

directly as similarity, or first transforming it to similarity of the type
specified by `networkType`

.
The weighted networks are obtained by raising the similarity to the powers given in `powerVector`

.
For each power the scale free topology fit index is calculated
and returned along with other information on connectivity.

On systems with multiple cores or processors,
the function pickSoftThreshold takes advantage of parallel processing if the function
`enableWGCNAThreads`

has been called to allow parallel processing and set up the parallel
calculation back-end.

A list with the following components:

`powerEstimate` |
estimate of an appropriate soft-thresholding power: the lowest power for which
the scale free topology fit |

`fitIndices` |
a data frame containing the fit indices for scale free topology. The columns
contain the soft-thresholding power, adjusted |

Steve Horvath and Peter Langfelder

Bin Zhang and Steve Horvath (2005) "A General Framework for Weighted Gene Co-Expression Network Analysis", Statistical Applications in Genetics and Molecular Biology: Vol. 4: No. 1, Article 17

Horvath S, Dong J (2008) Geometric Interpretation of Gene Coexpression Network Analysis. PLoS Comput Biol 4(8): e1000117

`adjacency`

, `softConnectivity`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.