plotTernary | R Documentation |
Plotting the ternary of a bexy object
plotTernary(
x,
colors = c("turquoise3", "darkorange", "royalblue4"),
sampleNamesToHighlight = c(),
label = TRUE,
addSquares = TRUE,
...
)
x |
A bexy object. |
colors |
A vector of length three with the colors for aneuploid, XX and XY 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. |
addSquares |
Boolean indicating whether 7-cell posterior probability square plots should be drawn. |
... |
Other parameters used for plotting. |
No return value, called for side effects.
bexy
bex <- bexy()
plotTernary(bex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.