stat: stat

Description Usage Arguments Value Author(s) Examples

View source: R/stat.R

Description

Calculate statistical indicators of phenotypic data

Usage

1
stat(x, sample = NULL, phe = NULL)

Arguments

x

Input phenotype data file.

sample

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

phe

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

Value

Mean, median, standard deviation, standard error of phenotypic data for each sample.

Author(s)

Peng Zhao <pengzhao@nwafu.edu.cn>

Examples

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

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