| statDesign | R Documentation |
Statistic summary for analysis of the contribution of all candidates to optimal genome. The results directly guide the lines selection and population improvement route.
statDesign(designInfo,which = "max",binsInfo,pheno,trait,output = NULL)
designInfo |
Outputs of |
binsInfo |
Data frame, including bins index, start, end, length of bins locus. |
which |
A character, defining which virtual genome used for statistics, default "max". |
pheno |
Phenotypic data frame, the first column describes sample names. |
trait |
The names of interest trait (The trait must be included in 'Pheno' data frame). |
output |
The prefix of output files regarding the summary and statistic infomation via the process of genome optimization. |
A data frame regarding statistics results of virtual simulation.
Lines |
Lines |
Bins(#) |
The number (#) of bins that a line contributed to the simulated genome. |
Bins(%) |
The number of bins that a line contributed accounting for the proportion (%) of simulated genome. |
Fragments(%) |
The total length of genomic fragments that a line contributed accounting for the proportion (%) of simulated genome. |
phenotype |
The phenotypic value of the corresponding lines or their offspring |
phenotypeRank |
The phenotype rank |
Cumulative(%) |
The cumulative percentage of fragments contributing to the simulated genome. |
If output is defined, the statistics results will be written to file with suffix "statRes.csv".
Qian Cheng, Shuqin Jiang, Xiangfeng Wang
GOVS
## Not run !
## load test data
# Phenotypic data:
data(phe)
# bins data:
data(bins)
# 1.run example for EW trait (write result files to local)
genomeOptimization(pheno = phe,trait = "EW",bins = bins,output = "MZ_test_1404")
# 2.run example for EW trait (get the results of genomeOptimization in R)
GO_res <- genomeOptimization(pheno = phe,trait = "EW",bins = bins,output = NULL)
# 3.Statistics for genome optimization
sta_res <- statDesign(designInfo = GO_Res$overall,binInfo = binsInfo,pheno = phe,
trait = "EW")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.