get_quantiles: Get the five quantiles of the weight parameter lambda

Description Usage Arguments Value Author(s) Examples

View source: R/get_quantiles.R

Description

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

Usage

1
get_quantiles(diff_expr, diff_coex, klist, pop_size)

Arguments

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

Value

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

Author(s)

Haisu Ma

Examples

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)

COSINE documentation built on May 1, 2019, 10:21 p.m.