plotAutosomalTrisomy | R Documentation |
Plotting the autosomal trisomies
plotAutosomalTrisomy(
x,
scaffoldName,
colors = c("deepskyblue4", "darkred"),
sampleNamesToHighlight = c(),
label = TRUE,
...
)
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. |
No return value, called for side effects.
bexy
bex <- bexy()
plotAutosomalTrisomy(bex, "21")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.