consDynamicNet: Dynamic analysis.

Description Usage Arguments Value References Examples

View source: R/pwOmics_consensus_analysis.R

Description

Generates continous data for dynamic analysis of protein, TF and gene data via smoothing splines. 50 time points are generated this way. The following nodes are considered: Nodes which are part of the static consensus graphs from corresponding time points of the two different measurement types. In case a node is not significantly changed at a certain point in time its FC is assumed to remain constant at this time point. Calculation of the consensus-based dynamic net parameters are based on the ebdbNet R package [1]. The number of time points generated via smoothing splines (50) is based on their results for median AUCs of ROC curves. The number of forward time units a node is assumed to influence other nodes can be specified via the laghankel parameter. The cutoff determining the percent of total variance explained by the singular values generated by singular value decomposition (SVD) of the block-Hankel matrix H in order to specify the hidden state dimension K (for further details see [1]).

Usage

1
2
3
consDynamicNet(data_omics, consensusGraphs, laghankel = 3,
  cutoffhankel = 0.9, conv.1 = 0.15, conv.2 = 0.05, conv.3 = 0.05,
  verbose = TRUE, max.iter = 100, max.subiter = 200)

Arguments

data_omics

OmicsData object.

consensusGraphs

result from static analysis: consensus graph generated by staticConsensusNet function.

laghankel

integer specifying the maximum relevant time lag to be used in constructing the block-Hankel matrix.

cutoffhankel

cutoff to determine desired percent of total variance explained; default = 0.9 as in [1].

conv.1

value of convergence criterion 1; default value is 0.15 (for further details see [1]).

conv.2

value of convergence criterion 2; default value is 0.05 (for further details see [1]).

conv.3

value of convergence criterion 3; default value is 0.05 (for further details see [1]).

verbose

boolean value, verbose output TRUE or FALSE

max.iter

maximum overall iterations; default value is 100 (for further details see [1]).

max.subiter

maximum iterations for hyperparameter updates; default value is 200 (for further details see [1]).

Value

list of 2 elements: 1) output parameters of dynamic network inference with ebdbNet package 2) splines data generated.

References

1. A. Rau, F. Jaffrezic, J.-L. Foulley, R. W. Doerge (2010). An empirical Bayesian method for estimating biological networks from temporal microarray data. Statistical Applications in Genetics and Molecular Biology, vol. 9, iss. 1, article 9.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## Not run: 
data(OmicsExampleData)
data_omics = readOmics(tp_prots = c(0.25, 1, 4, 8, 13, 18, 24), 
tp_genes = c(1, 4, 8, 13, 18, 24), OmicsExampleData,
PWdatabase = c("biocarta", "kegg", "nci", "reactome"), 
TFtargetdatabase = c("userspec"))
data_omics = readPhosphodata(data_omics, 
phosphoreg = system.file("extdata", "phospho_reg_table.txt", 
package = "pwOmics.newupdown")) 
data_omics = readTFdata(data_omics, 
TF_target_path = system.file("extdata", "TF_targets.txt", 
package = "pwOmics.newupdown"))
data_omics_plus = readPWdata(data_omics,  
loadgenelists = system.file("extdata/Genelists", package = "pwOmics.newupdown"))

## End(Not run)
## Not run: 
data_omics_plus = identifyPR(data_omics_plus) 
setwd(system.file("extdata/Genelists", package = "pwOmics.newupdown"))
data_omics = identifyPWs(data_omics_plus)
data_omics = identifyTFs(data_omics)
data_omics = identifyRsofTFs(data_omics, 
noTFs_inPW = 1, order_neighbors = 10)
data_omics = identifyPWTFTGs(data_omics)
statConsNet = staticConsensusNet(data_omics)
dynConsNet = consDynamicNet(data_omics, statConsNet)

## End(Not run)

pwOmics documentation built on Nov. 8, 2020, 4:55 p.m.