Description Usage Arguments Value Author(s) References See Also
View source: R/blockwiseModulesC.R
Calculation of the topological overlap matrix from given expression data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | TOMsimilarityFromExpr(
datExpr,
weights = NULL,
corType = "pearson",
networkType = "unsigned",
power = 6,
TOMType = "signed",
TOMDenom = "min",
maxPOutliers = 1,
quickCor = 0,
pearsonFallback = "individual",
cosineCorrelation = FALSE,
replaceMissingAdjacencies = FALSE,
suppressTOMForZeroAdjacencies = FALSE,
useInternalMatrixAlgebra = FALSE,
nThreads = 0,
verbose = 1, indent = 0)
|
datExpr |
expression data. A data frame in which columns are genes and rows ar samples. NAs are allowed, but not too many. |
weights |
optional observation weights for |
corType |
character string specifying the correlation to be used. Allowed values are (unique
abbreviations of) |
networkType |
network type. Allowed values are (unique abbreviations of) |
power |
soft-thresholding power for netwoek construction. |
TOMType |
one of |
TOMDenom |
a character string specifying the TOM variant to be used. Recognized values are
|
maxPOutliers |
only used for |
quickCor |
real number between 0 and 1 that controls the handling of missing data in the calculation of correlations. See details. |
pearsonFallback |
Specifies whether the bicor calculation, if used, should revert to Pearson when median
absolute deviation (mad) is zero. Recongnized values are (abbreviations of)
|
cosineCorrelation |
logical: should the cosine version of the correlation calculation be used? The cosine calculation differs from the standard one in that it does not subtract the mean. |
replaceMissingAdjacencies |
logical: should missing values in the calculation of adjacency be replaced by 0? |
suppressTOMForZeroAdjacencies |
Logical: should TOM be set to zero for zero adjacencies? |
useInternalMatrixAlgebra |
Logical: should WGCNA's own, slow, matrix multiplication be used instead of R-wide BLAS? Only useful for debugging. |
nThreads |
non-negative integer specifying the number of parallel threads to be used by certain parts of correlation calculations. This option only has an effect on systems on which a POSIX thread library is available (which currently includes Linux and Mac OSX, but excludes Windows). If zero, the number of online processors will be used if it can be determined dynamically, otherwise correlation calculations will use 2 threads. |
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. |
A matrix holding the topological overlap.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.