Learn R Programming

DEploid (version 0.5.4)

haplotypePainter: Painting haplotype according the reference panel

Description

Plot the posterior probabilities of a haplotype given the refernece panel.

Usage

haplotypePainter(
  posteriorProbabilities,
  title = "",
  labelScaling,
  numberOfInbreeding = 0
)

Arguments

posteriorProbabilities

Posterior probabilities matrix with the size of number of loci by the number of reference strain.

title

Figure title.

labelScaling

Scaling parameter for plotting.

numberOfInbreeding

Number of inbreeding strains copying from.