Description Usage Arguments Details Value Author(s) See Also Examples
Adds the single QTL R square data to the related general QTL description contained within peak.array
data frame.
1 | Rsq.2.array(rsq,peak.array)
|
rsq |
An object of class |
peak.array |
An object of class |
Useful to store whole single QTL description within a simple array by adding the single QTL R square data. Add two columns containing the R square data from rsq
object to the related peak.array
data frame. Column Rsq
contains the R square values and column RpF
contains the R square significance. The R square data is computed by the function calc.Rsq
.
Returns an object of class rsq
which is a simple data frame with columns:
qtl |
The name of the genetic determinant. If the genetic determinant is an individual QTL, the name is formated as |
rsq |
The Fisher value (set to NA if not significant: |
pF |
The significance (set to NA if not significant: |
Hamid A. Khalili
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | data(seed10);
# Genome scan and QTL detection
out.em <- scanone(seed10, pheno.col=1:50, model='normal', method='hk');
out.peak <- define.peak(out.em, 'all');
# Computing additive effect
out.peak <- calc.adef(seed10,out.em,out.peak);
# Localizing peak
data(BSpgmap);
out.peak <- localize.qtl(seed10,out.peak,BSpgmap);
out.array <- peak.2.array(out.peak);
# R square computing
out.rsq <- calc.Rsq(seed10,out.peak);
# Adding R square data
out.array <- Rsq.2.array(out.rsq,out.array);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.