Description Usage Arguments Details Value Examples
View source: R/infer_network.R
This function infers a gene expression network based on pre-defined methods.
1 | infer_network(method = c(1, 2, 3, 4, 5, 6, 7), data, quantile_thr)
|
method |
Integer defining the method to be used. Defaults to using CLR (method 3). |
data |
Gene expression data frame or mutual information matrix |
quantile_thr |
Quantile threshold for edge assignment (defaults to 0.95) |
Inference methods:
Spearman correlations
Partial correlations with information theory (PCIT)
Context Likelihood of Relatedness (CLR)
ARACNe
MRNET
MRNETB
Mutual Rank (MutRank)
An inferred network matrix
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Run CLR algorithm:
D <- nsmblR::data_matrix
N <- infer_network(method = 3, data = D, quantile_thr = 0.95)
# Run MutRank algorithm:
D <- nsmblR::data_matrix
N <- infer_network(method = 7, data = D, quantile_thr = 0.95)
# Clean data and then run the ARACNE algorithm:
D <- nsmblR::data_matrix
cd <- data_cleanup(D)
D <- D[-cd$nix_rows, ]
genes <- nsmblR::genes[-cd$nix_rows, ]
N <- infer_network(method = 4, data = D, quantile_thr = 0.8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.