stat {Phenotype}R Documentation

stat

Description

Calculate statistical indicators of phenotypic data

Usage

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

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

[Package Phenotype version 0.1.0 Index]