plot.mpprob: Plot summary of founder probabilities and haplotype blocks

Description Usage Arguments Value See Also Examples

View source: R/plot.mpprob.R

Description

Plot the percentage of each chromosome inherited from each founder

Usage

1
2
  ## S3 method for class 'mpprob'
 plot(x, chr, nlines, ...)

Arguments

x

Object of class mpprob

chr

Chromosomes to plot. Default is all

nlines

Number of lines to select to show founder ancestry. Default is all

...

Additional arguments to plot function

Value

Barplot of the percentage of each founder on each chromosome; individual heatmaps of which chunks of each chromosome are inherited from each founder.#'

See Also

mpprob, summary.mpprob, heatmap_2

Examples

1
2
3
4
5
sim.map <- sim.map(len=rep(100, 2), n.mar=11, include.x=FALSE, eq.spacing=TRUE)
sim.ped <- sim.mpped(4, 1, 500, 6, 1)
sim.dat <- sim.mpcross(map=sim.map, pedigree=sim.ped, qtl=matrix(data=c(1, 10, .4, 0, 0, 0, 1, 70, 0, .35, 0, 0), nrow=2, ncol=6, byrow=TRUE), seed=1)
mpp.dat <- mpprob(sim.dat, program="qtl")
plot(mpp.dat)

mpMap documentation built on May 29, 2017, 2:50 p.m.