genomeOptimization | R Documentation |
Virtual genome optimization based IBD(bins) data
genomeOptimization(pheno,bins,trait,output = NULL)
pheno |
Phenotypic data frame, the first column describes sample names. |
bins |
Results of IBD analysis (bins matrix), each row represents a bin fragment as well as each column represents each sample. |
trait |
The names of interest trait (The trait must be included in 'Pheno' data frame |
output |
The prefix of output files regarding the scheme of virtual genome. |
Genome optimization results
max |
Details for "optimal" simulation |
med |
Details for "moderate" simulation |
min |
Details for "poor" simulation |
overall |
Lines' names for genome optimization results of three simulated genome. Used for |
pvalue |
P-value for ANOVA |
If output is defined, all above five elements will be written to five files with suffix ".max", ".med",".min", ".merge",".pvalue".
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.