View source: R/plot_APCheatmap.R
ensure_segmentsInPlotRange | R Documentation |
Internal helper function to be called from within
gg_addReferenceLines
. This function takes the dataset prepared
for adding diagonal reference lines in the plot, checks if some diagonals
exceed the plot limits, cuts them accordingly, if necessary, and again
returns the corrected dataset.
ensure_segmentsInPlotRange(dat_segments, plot_dat)
dat_segments |
Dataset containing information on the diagonal reference lines. |
plot_dat |
Dataset used for creating the heatmap. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.