metaGE.cor: Infer inter-environment correlation matrix

View source: R/metaGEmatcor.R

metaGE.corR Documentation

Infer inter-environment correlation matrix

Description

This function infer the inter-environment correlation matrix from the z-scores after filtering markers with high probability of being under H1.

Usage

metaGE.cor(Data, Threshold = 0.6, NA.omit = TRUE, Cores = NULL)

Arguments

Data

A dataset containing the effects and pvalues of each marker (in rows) in each environment (in columns) as obtained by metaGE.collect().

Threshold

Threshold on posteriors (to be H1) to filter markers before computing correlation (0.6 by default).

NA.omit

A boolean: should the NA be removed for the inter-environment correlation matrix computation (TRUE by default).

Cores

The number of cores to used, optional. By default, availableCores()-1 cores is used.

Value

The inter-environment correlation matrix

Examples

require(corrplot)
data("metaData")
Threshold <- 0.8
matCorr <- metaGE.cor(metaData, Threshold = Threshold)
corrplot(matCorr,order = "hclust")

metaGE documentation built on April 3, 2025, 8:48 p.m.