Learn R Programming

Phenotype (version 0.1.0)

blup: blup

Description

Performs the Best Linear Unbiased Prediction (BLUP)

Usage

blup(
  x,
  sample = NULL,
  year = NULL,
  loc = NULL,
  rep = NULL,
  phe = NULL,
  fold = 1.5
)

Arguments

x

Input phenotype data file.

sample

The column name of the sample name in phenotypic data. (Default: NULL)

year

The column name of the year in phenotypic data. (Default: NULL)

loc

The column name of the location in phenotypic data. (Default: NULL)

rep

The column name of the replication in phenotypic data. (Default: NULL)

phe

The column name of the phenotypic value in data. (Default: NULL)

fold

Fold before inter-quartile range. (Default: 1.5)

Value

Estimate BLUPs for a phenotypic data with outliers removed on a per sample basis.

Examples

Run this code
# NOT RUN {
data("wheatds")
blup_out <- blup(wheatds, sample = "Line", loc = "Env", rep = "Rep", phe = "DS")
# }

Run the code above in your browser using DataLab