View source: R/net_and_modules.R
get_fit.cor | R Documentation |
Adjust a correlation matrix depending of the type of network, then try to parameter a power law for best fit
get_fit.cor(
cor_mat,
fit_cut_off = 0.9,
network_type = c("unsigned", "signed", "signed hybrid"),
block_size = NULL,
...
)
cor_mat |
matrix or data.frame of genes correlation. |
fit_cut_off |
float, cut off by which R^2 (coefficient of determination) will be thresholded. Must be in ]0;1[. |
network_type |
string giving type of network to be used. Either "unsigned", "signed", "signed hybrid". See details. |
block_size |
integer giving size of blocks by which operations can be proceed. Helping if working with low capacity computers. If null, will be estimated. |
... |
any other parameter compatible with
|
network_type indicate which transformation will be applied on the correlation matrix to return the similarity score.
will modify the range [-1;1] to [0.5;1.5] (because of log10 beeing used for scale free index computation)
will return absolute value (moving from [-1;1] to [0;1])
will replace all negative values by 0 (moving from [-1;1] to [0;1])
A list containing power of the law for best fit, fit table, and metadata about the arguments used.
get_fit.cor(cor_mat = cor(kuehne_expr[, seq_len(100)]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.