Description Usage Arguments Value Author(s) Examples
View source: R/diff_gen_for3.R
It works very similarly to "diff_gen" except that it performs the calculation across three rather than two datasets
1 | diff_gen_for3(data1, data2, data3)
|
data1 |
The first dataset of gene expression profiles |
data2 |
The second dataset of gene expression profiles |
data3 |
The third dataset of gene expression profiles |
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 11 12 13 14 15 | #Load the simulated datasets
data(simulated_data)
set1_data<-simulated_data[[1]]
set2_data<-simulated_data[[2]]
control_data<-simulated_data[[7]]
#Calculate the F-statistics and ECF-statistics
#for the first five genes
diff_gen_for3_test <- diff_gen_for3(set1_data[,1:5],
set2_data[,1:5],control_data[,1:5])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.