Learn R Programming

bexy (version 0.1.3)

.plotAutosomalTrisomy.bexy: Function to plot counts of a specific autosome and color them according to BeXY posterior mode of autosomal trisomy

Description

Function to plot counts of a specific autosome and color them according to BeXY posterior mode of autosomal trisomy

Usage

.plotAutosomalTrisomy.bexy(
  object,
  scaffoldName,
  plotCounts,
  colors,
  sampleNamesToHighlight,
  label,
  ...
)

Value

No return value, called for side effects.

Arguments

object

A bexy object.

scaffoldName

The name of the scaffold to plot (has to be an autosome)

plotCounts

A boolean. If TRUE, the counts are plotted. If FALSE, the posterior probabilities are plotted.

colors

A vector of length two with the colors for diploid and triploid samples, respectively.

sampleNamesToHighlight

A vector of sample names that should be highlighted. If empty, samples are automatically highlighted based on the posterior probabilities.

label

Boolean indicating whether samples should be labeled.

...

Other parameters used for plotting