powered by
Plotting the ternary of a bexy object
plotTernary( x, colors = c("turquoise3", "darkorange", "royalblue4"), sampleNamesToHighlight = c(), label = TRUE, addSquares = TRUE, ... )
No return value, called for side effects.
A bexy object.
A vector of length three with the colors for aneuploid, XX and XY samples, respectively.
A vector of sample names that should be highlighted. If empty, samples are automatically highlighted based on the posterior probabilities.
Boolean indicating whether samples should be labeled.
Boolean indicating whether 7-cell posterior probability square plots should be drawn.
Other parameters used for plotting.
bexy
bex <- bexy() plotTernary(bex)
Run the code above in your browser using DataLab