design.Z: Function to generate design matrix (Z)

View source: R/functions_for_RGWAS.R

design.ZR Documentation

Function to generate design matrix (Z)

Description

Function to generate design matrix (Z)

Usage

design.Z(pheno.labels, geno.names)

Arguments

pheno.labels

A vector of genotype (line; accesion; variety) names which correpond to phenotypic values.

geno.names

A vector of genotype (line; accesion; variety) names for marker genotype data (duplication is not recommended).

Value

Z of y = X\beta + Zu + e. Design matrix, which is useful for GS or GWAS.


RAINBOWR documentation built on July 4, 2024, 1:11 a.m.