plotAutosomalTrisomyPosteriorProbabilities: Plotting the autosomal trisomies: posterior probabilities
Description
Plotting the autosomal trisomies: posterior probabilities
Usage
plotAutosomalTrisomyPosteriorProbabilities(
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.
Examples
Run this codebex <- bexy()
plotAutosomalTrisomyPosteriorProbabilities(bex, "21")
Run the code above in your browser using DataLab