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

1 | ```
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

1 2 3 4 5 6 7 8 9 10 | ```
#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])
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.