Learn R Programming

COSINE (version 2.1)

get_quantiles_PPI: Get the five quantile values of lambda for analysis of gene expression and PPI network data

Description

Perform random sampling a large number of times to get the distribution of node score term and edge score term and calculate the quantiles of lambda

Usage

get_quantiles_PPI(scaled_node_score, scaled_edge_score, PPI, klist, pop_size)

Arguments

scaled_node_score
The scaled F-statistics measuring the differential expression of each gene
scaled_edge_score
The scaled ECF-statistics measuring the differential correlation of each gene pair
PPI
The two column matrix containing the protein interaction pairs
klist
A list of size of random networks to be sampled
pop_size
The number of random networks to be sampled

Value

A list containing two components:
ratio
The quantiles of the ratio of the edge score term and node score term
lambda
The quantiles of lambda

Examples

Run this code
data(scaled_node_score)
data(scaled_edge_score)
data(PPI)
quantiles<-get_quantiles_PPI(scaled_node_score,scaled_edge_score,
PPI,klist=seq(50,60,by=5),pop_size=10)

Run the code above in your browser using DataLab