Learn R Programming

COSINE (version 1.0)

diff_gen_PPI: Generate the scaled node score and scaled edge score for nodes and edges in the background network

Description

Compute the F-statistic and ECF-statistic and then standardize them

Usage

diff_gen_PPI(data1, data2, PPI)

Arguments

data1
The first gene expression dataset(with rows corresponding to samples)
data2
The second gene expression dataset
PPI
A matrix with two columns containing the protein interaction pairs

Value

  • A list containing:
  • scaled_node_scoreThe standardized F-statistic measuring the differential expression of each gene
  • scaled_edge_scoreThe standardized ECF-statistic measuring the differential correlation of each gene pair

Examples

Run this code
data(simulated_data)
data(PPI)
data1 <- simulated_data[[1]]
data2 <- simulated_data[[7]]
colnames(data1)<-colnames(data2)<-as.character(1:500)
test <- diff_gen_PPI(data1[,1:20],data2[,1:20],PPI)

Run the code above in your browser using DataLab