Description Usage Arguments Value References Examples
View source: R/generatePathwaysNetwork.R
Subnetwork Creation function
1 2 3 4 | generatePathwaysNetwork(data, covars = NULL, annotations,
level = "Sub.pathway", correlation.type = "partial", alpha = 0.05,
correction.method = "bonferroni", rm.unknown = TRUE,
representative.method = "eigenmetabolite")
|
data |
a |
covars |
a |
annotations |
a |
level |
name of the column that should be used for grouping the variables. The default is "SUB_PATHWAY". |
correlation.type |
type of correlation to be estimated. Can either be "pearson", or "partial". |
alpha |
significance threshold (type 1 error) for multiple testing correction. |
correction.method |
the method that should be used for multiple testing correction ("bonferroni", "BH", "BY", "fdr", "holm", "hochberg", "hommel", "none").
Default is bonferroni. See |
rm.unknown |
remove variables, for which the group is unknown. The corresponding grouping variable name should be "Unknown".
Default is |
representative.method |
the method, that is used for calculation of the eigenmetabolites. Currently implemented: "eigenmetabolite" and "average" |
a list with a network containing the variables as nodes as
an igraph
object and a list with the module
representatives including their explained variances.
Krumsiek2011MoDentify
\insertRefDo2017MoDentify
1 2 3 4 5 6 7 | data(qmdiab.data)
data(qmdiab.annos)
pathway.graph <- generatePathwaysNetwork(
data = qmdiab.data,
annotations = qmdiab.annos, level = "Sub.pathway"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.