Stack QTL summary information into a super table
Stack QTL summary information into a super table ready for simple exporting
list of objects of class "
a genetic object of class "interval" usually used
a vector of character strings determining the trait names of each QTL table. if this is NULL then the trait names are found from the response of the wgaim model
this can be either a numeric vector determining which columns of the QTL
summaries should be outputted or "
a numeric vector determining which columms of the summary should be returned (see Details)
The super table is created by stacking the QTL summaries on top of each
other using the models in ... from left to right. An extra column is
created on the left hand side of the stacked table for the trait names
given in the
labels argument. The names are only placed in the
first element of each table with NAs for the rest of the elements. This
then allows simple exporting to spreadsheet packages or with the R/LaTeX
data.frame object with stacked QTL summaries
Julian Taylor, Arunas Vebyla (2011). R Package wgaim: QTL Analysis in Bi-Parental Populations Using Linear Mixed Models. Journal of Statistical Software, 40(7), 1-18. URL http://www.jstatsoft.org/v40/i07/.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
## Not run: ## fit wgaim models rktgw.qtl <- wgaim(rktgw.asf, phenoData = phenoRxK, intervalObj = genoRxK, merge.by = "Genotype", trace = "trace.txt", na.method.X = "include") rkyld.qtl <- wgaim(rkyld.asf, phenoData = phenoRxK, intervalObj = genoRxK, merge.by = "Genotype", trace = "trace.txt", na.method.X = "include") ## create super table and export qtlt <- qtlTable(rktgw.qtl, rkyld.qtl, labels = c("Conc.", "Shoot")) print(xtable(qtlt), file = "superQTL.tex", include.rownames = FALSE) ## End(Not run)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.