Learn R Programming

bexy (version 0.1.3)

plotAutosomalTrisomy: Plotting the autosomal trisomies

Description

Plotting the autosomal trisomies

Usage

plotAutosomalTrisomy(
  x,
  scaffoldName,
  colors = c("deepskyblue4", "darkred"),
  sampleNamesToHighlight = c(),
  label = TRUE,
  ...
)

Value

No return value, called for side effects.

Arguments

x

A bexy object.

scaffoldName

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

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.

See Also

bexy

Examples

Run this code
bex <- bexy()
plotAutosomalTrisomy(bex, "21")

Run the code above in your browser using DataLab