Description Usage Arguments Value Author(s) Examples
View source: R/get_quantiles.R
Use random sampling to get a large number of subnetworks and then calculate the distribution of the ratio between the edge-score term and node-score term
1  | get_quantiles(diff_expr, diff_coex, klist, pop_size)
 | 
diff_expr | 
 The vector storing the F-statistics measuring the differential expression of each gene  | 
diff_coex | 
 The matrix storing the ECF-statistics measuring the differential correlation of each gene pair  | 
klist | 
 A vector of the sizes (number of genes) of random subnetworks to be sampled  | 
pop_size | 
 The number of random subnetworks to be sampled  | 
A list containing two components:
ratio | 
 The five quantiles of the log-ratios between the edge-score term and node-score term  | 
lambda | 
 The five quantiles of lambdas calculated based on the ratios  | 
Haisu Ma
1 2 3 4 5 6  | data(set1_scaled_diff)
klist<-c(20,25)
set1_quantile<-get_quantiles(diff_expr=set1_scaled_diff[[1]],
diff_coex=set1_scaled_diff[[2]],klist,pop_size=20)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.