outlier {Phenotype} | R Documentation |
outlier
Description
Remove outliers from phenotypic data
Usage
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
data("wheatds")
inlier <- outlier(wheatds, sample = "Line", loc = "Env", rep = "Rep", phe = "DS", mode = "blup")
[Package Phenotype version 0.1.0 Index]