Generate the F-statistics and ECF-statistics for the comparison of three datasets

Share:

Description

It works very similarly to "diff_gen" except that it performs the calculation across three rather than two datasets

Usage

1
diff_gen_for3(data1, data2, data3)

Arguments

data1

The first dataset of gene expression profiles

data2

The second dataset of gene expression profiles

data3

The third dataset of gene expression profiles

Value

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

Author(s)

Haisu Ma

Examples

 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])

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.