Learn R Programming

Phenotype (version 0.1.0)

stat: 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.

Examples

Run this code
# NOT RUN {
data("wheatds")
inlier <- outlier(wheatds, sample = "Line", loc = "Env", rep = "Rep", phe = "DS", mode = "blup")
stat_out <- stat(x = inlier, sample = "Sample", phe = "inlier")
# }

Run the code above in your browser using DataLab