calculateES | R Documentation |
This function uses the Hedges'g estimator to calulate the different Effects size and their variances for each genes and for each dataset.
calculateES(objectMA, missAllow = 0.3)
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. |
A list formed by three elements:
First element (ES) is a dataframe were columns are each of the studies (datasets) and rows are the genes. Each element of the dataframe represents the Effect Size.
Second element (Var) is a dataframe were columns are each of the studies (datasets) and rows are the genes. Each element of the dataframe represents the variance of the Effect size.
Third element (logFC) is a dataframe were columns are each of the studies (datasets) and rows are the genes. Each element of the dataframe represents the log Fold Changes.
Juan Antonio Villatoro Garcia, juanantoniovillatorogarcia@gmail.com
createObjectMA
, metaAnalysisDE
data(DExMAExampleData)
resultsEffects <- calculateES(objectMA = maObject, missAllow = 0.3)
resultsEffects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.