genomic.clines
. clines.plot(cline.data=NULL,marker.order=NULL,rplots=3,cplots=3,pdf=TRUE, out.file="clines.pdf",colors=c("#005A32","#41AB5D"), quantiles=FALSE,lb.cd=rep(0.025,3),ub.cd=rep(0.975,3), lb.dh=rep(0.025,2),ub.dh=rep(0.975,2),cd=c("AA","Aa","aa"),dh=c("A","a"))
genomic.clines
function.marker.order = NULL
markers are plotted in the order they were originally provided.pdf=FALSE
plots are printed to the current graphical
device.pdf=TRUE
.genomic.clines
function. A separate plot is produced for
each marker. Plots depict the probability of a given genotype as a
function of hybrid index. Plots for the observed data are shown with
solid (homozygous population 1 genotype for co-dominant markers, or
population 1 allele for dominant or haploid markers) and dashed lines
(inter-specific heterozygotes for co-dominant markers, not shown for
dominant or haploid markers). If significance testing was conducted with
the genomic.clines
function, the corresponding 95% confidence
intervals are shown in dark and light green. Circles indicate
individuals that are homozygous for alleles from population 1
(co-dominant) or population 1 alleles (dominant or haploid) on the top
line, interspecific heterozygotes (co-dominant only) in the middle, and
homozygotes for alleles from population 2 (co-dominant) or population 2
alleles (dominant or haploid) on the bottom line. The number of
individuals with each genotype is printed on the right vertical
axis. The locus name and P-value are printed in each plot. If
quantiles = TRUE
and genotype-specific quantiles were computed
with the genomic.clines
function by setting classification
= TRUE
, a title is given for each individual plot that includes whether
each genotype (as labeled by cd
or dh
) was over- (+) or
under-represented (-) compared to neutral expectation using
lb.cd
, ub.cd
,lb.dh
, ub.dh
as thresholds.
See Gompert and Buerkle (2009a, 2009b) for additional details and examples.
Gompert Z. and Buerkle C. A. (2009) introgress: a software package for mapping components of isolation in hybrids. Molecular Ecology Resources, in preparation.
genomic.clines
## this code assumes the data object clines.out2 has been produced using
## the sample code for the "genomic.clines" function
## produce plots of genomic clines
## Not run:
# clines.plot(cline.data=clines.out2)
# ## End(Not run)
Run the code above in your browser using DataLab