randomForest | R Documentation |
'randomForest' infers an adjacency matrix using random forest using the 'GENIE3' function from the 'GENIE3' package. 'randomForest' returns the importance of the link between features in the form of an adjacency matrix.
randomForest(x, ...)
x |
matrix, where columns are the samples and the rows are features (metabolites), cell entries are intensity values |
... |
parameters passed to 'GENIE3' |
For use of the parameters used in the 'GENIE3' function,
refer to '?GENIE3::GENIE3'. The arguments 'regulators' and 'targets' are
set to 'NULL'. Element w_{i,j}
(row i, column j) gives the importance
of the link from i to j.
matrix, matrix with the importance of the links inferred from random forest algorithm implemented by 'GENIE3'
Thomas Naake, thomasnaake@googlemail.com
data("x_test", package = "MetNet")
x <- x_test[1:10, 3:ncol(x_test)]
x <- as.matrix(x)
randomForest(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.