outlier: outlier

Description Usage Arguments Value Author(s) Examples

View source: R/outlier.R

Description

Remove outliers from phenotypic data

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
outlier(
  x,
  sample = NULL,
  year = NULL,
  loc = NULL,
  rep = NULL,
  phe = NULL,
  fold = 1.5,
  mode = "normal"
)

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)

mode

Type of input phenotypic data. "normal" means normal data, "blup" means data containing year/location/repetition. (Default: "normal")

Value

phenotypic data with outliers removed.

Author(s)

Peng Zhao <pengzhao@nwafu.edu.cn>

Examples

1
2
data("wheatds")
inlier <- outlier(wheatds, sample = "Line", loc = "Env", rep = "Rep", phe = "DS", mode = "blup")

Phenotype documentation built on Aug. 6, 2020, 5:10 p.m.