mppGE_QTL_R2: MPP GxE QTL R2

View source: R/mppGE_QTL_R2.R

mppGE_QTL_R2R Documentation

MPP GxE QTL R2

Description

Compute MPP GxE QTL R2.

Usage

mppGE_QTL_R2(
  mppData,
  trait,
  Q.eff = "cr",
  VCOV = "ID",
  QTL = NULL,
  glb.only = FALSE,
  workspace = 8e+06
)

Arguments

mppData

An object of class mppData.

trait

Character vector specifying which traits (environments) should be used.

Q.eff

Character expression indicating the assumption concerning the QTL effects: 1) "cr" for cross-specific; 2) "par" for parental; 3) "anc" for ancestral; 4) "biall" for a bi-allelic. Default = "cr".

VCOV

VCOV Character expression defining the type of variance covariance structure used. "ID" for identity, "CSRT" for within environment cross-specific residual terms, "CS_CSRT" for compound symmetry with within environment cross-specific residual terms. Default = "CS_CSRT".

QTL

Object of class QTLlist representing a list of selected marker positions obtained with the function QTL_select() or a vector of character marker positions names. Default = NULL.

glb.only

Logical value. If glb.only = TRUE, only the global and global adjusted R squared will be returned. Default = FALSE.

workspace

Size of workspace for the REML routines measured in double precision words (groups of 8 bytes). The default is workspace = 8e6.

Value

Return:

Author(s)

Vincent Garin

Examples


library(asreml)

data(mppData_GE)

Qpos <- c("PZE.105068880", "PZE.106098900")

R2 <- mppGE_QTL_R2(mppData = mppData_GE, trait = c('DMY_CIAM', 'DMY_TUM'),
                   Q.eff = 'par', QTL = Qpos)


vincentgarin/mppGxE documentation built on June 25, 2022, 2:45 p.m.