plotAutosomalTrisomy {bexy}R Documentation

Plotting the autosomal trisomies

Description

Plotting the autosomal trisomies

Usage

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

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 probabilites.

label

Boolean indicating whether samples should be labeled.

...

Other parameters used for plotting.

Value

No return value, called for side effects.

See Also

bexy

Examples

bex <- bexy()
plotAutosomalTrisomy(bex, "21")

[Package bexy version 0.1.2 Index]