plotAutosomalTrisomyCounts {bexy}R Documentation

Plotting the autosomal trisomies: counts on that scaffold

Description

Plotting the autosomal trisomies: counts on that scaffold

Usage

plotAutosomalTrisomyCounts(
  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()
plotAutosomalTrisomyCounts(bex, "21")

[Package bexy version 0.1.2 Index]