diff_gen {COSINE} | R Documentation |
The "diff_gen" function calculates the F-statistics which measures the differential expression of each gene and the ECF-statistcs which measures the differential correlation of each gene pair between two datasets
diff_gen(data1, data2)
data1 |
one of the two gene expression datasets |
data2 |
a second gene expression dataset |
A list containing:
diff_expr |
a vector of the F-statistics for each gene |
diff_coex |
a square matrix storing the ECF-statistics for each gene pair |
Haisu Ma
#Load two of the simualted datasets data(simulated_data) set1_data <- simulated_data[[1]] control_data <- simulated_data[[7]] #Compute the F-statistics and ECF-statistics for the first 10 genes diff_gen_test <- diff_gen(set1_data[,1:10],control_data[,1:10])