Description Usage Arguments Value Author(s) References See Also Examples
Creates a plot where dot sizes and colors represent the QTLs heritabilities and their p-values, respectively.
1 2 3 4 5 6 7 8 9 |
data |
an object of class |
model |
an object of class |
fitted |
an object of class |
pheno.col |
the desired phenotype column numbers to be plotted. The order here specifies the order of plotting (from top to bottom.) |
main |
plot title; if |
drop.pheno |
if |
drop.lgs |
if |
A ggplot2 with dots representing the QTLs.
Guilherme da Silva Pereira, gdasilv@ncsu.edu
Pereira GS, Gemenet DC, Mollinari M, Olukolu BA, Wood JC, Mosquera V, Gruneberg WJ, Khan A, Buell CR, Yencho GC, Zeng ZB (2020) Multiple QTL mapping in autopolyploids: a random-effect model approach with application in a hexaploid sweetpotato full-sib population, Genetics 215 (3): 579-595. http://doi.org/10.1534/genetics.120.303080.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## Not run:
# load raw data
data(maps)
data(pheno)
# estimate conditional probabilities using mappoly package
library(mappoly)
genoprob <- lapply(maps, calc_genoprob)
# prepare data
data <- read_data(ploidy = 6, geno.prob = genoprob, pheno = pheno, step = 1)
# perform remim
remim.mod <- remim(data = data, w.size = 15, sig.fwd = 0.01, sig.bwd = 0.0001,
d.sint = 1.5, n.clusters = 4, plot = "remim")
# fit model
fitted.mod <- fit_model(data=data, model=remim.mod, probs="joint", polygenes="none")
# plot qtls
plot_qtl(data = data, model = remim.mod, fitted = fitted.mod)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.