calculateES {DExMA}R Documentation

Calculation of Effects Sizes and their variance

Description

This function uses the Hedges'g estimator to calulate the different Effects size and their variances for each genes and for each dataset.

Usage

calculateES(objectMA, missAllow = 0.3)

Arguments

objectMA

A list of list. Each list contains two elements. The first element is the expression matrix (genes in rows and sample in columns) and the second element is a vector of zeros and ones that represents the state of the diffenrent samples of the expression matrix. 0 represents one group (controls) and 1 represents the other group (cases). The result of the CreateobjectMA can be used too.

missAllow

a number that indicates the maximun proportion of missing values allowed in a sample. If the sample has more proportion of missing values the sample will be eliminated. In the other case the missing values will be imputed using the K-NN algorithm.

Value

A list formed by three elements:

Author(s)

Juan Antonio Villatoro Garcia, juanantoniovillatorogarcia@gmail.com

See Also

createObjectMA, metaAnalysisDE

Examples


data(DExMAExampleData)

resultsEffects <- calculateES(objectMA = maObject, missAllow = 0.3)
resultsEffects


[Package DExMA version 1.1.2 Index]