Learn R Programming

metaGE (version 1.2.2)

LLikelihoodT_vect: LLikelihoodT_vect

Description

This function compute the values of loglikelihood for all markers.

Usage

LLikelihoodT_vect(Zmat, Delta, P, Mu, Tau)

Value

A vector containing the value of the Log-Likelihood of all markers

Arguments

Zmat

A matrix containing the Zscores of all markers (in rows) in each environment (in columns)

Delta

A vector containing the diagonal coefficients of the diagonal matrix obtained by the diagonalization of the correlation matrix

P

Matrix such that MatCorr = P Delta t(P), with Delta diagonal

Mu

A vector containing the average effect of the markers

Tau

A vector containing the heterogeneity between environments of the markers