replayPlotOrder {MetCirc} | R Documentation |
'replayPlotOrder' will call 'replayPlot' from 'grDevices' with a 'recordedplot' object based on 'orderMatch'.
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
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)