Description Usage Arguments Details Value Author(s) Examples
'replayPlotOrder' will call 'replayPlot' from 'grDevices' with a 'recordedplot' object based on 'orderMatch'.
1 | replayPlotOrder(orderMatch = "mz", onCircle = FALSE, plot_l, ind)
|
orderMatch |
'character', either '"mz"', '"retentionTime"' or '"clustering"' |
onCircle |
'logical', are coordinates on circle. If FALSE and no features are selected ('length(ind) == 0'), then filled plots are replayed, otherwise highlighted plots are replayed. |
plot_l |
'list' with plots |
ind |
'numeric', indices of clicked features |
Helper function for 'shinyCircos'.
'replayedplot'
Thomas Naake, thomasnaake@googlemail.com
1 2 3 4 5 6 7 8 9 | type_match <- c("a_1", "a_2", "a_3", "b_1", "b_2", "b_3", "c_1", "c_2")
plotCircos(type_match, NULL, initialize = TRUE, featureNames = TRUE,
groupSector = TRUE, groupName = FALSE, links = FALSE,
highlight = TRUE)
p <- recordPlot()
plot.new()
plot_l <- list(highlightMz = p)
MetCirc:::replayPlotOrder(orderMatch = "mz", onCircle = TRUE,
plot_l = plot_l, ind = NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.