View source: R/plot_quantile_heatmap.r
plot_quantile_heatmap | R Documentation |
Create a heatmap of estimated quantile-wavelet correlations with white borders for cells where the estimate lies outside its 95% confidence interval.
plot_quantile_heatmap(
df,
label_levels = TRUE,
palette = viridisLite::viridis(100)
)
df |
Data frame with columns |
label_levels |
Logical; if |
palette |
Color palette vector for |
A lattice
levelplot
object (invisibly).
df <- data.frame(
Level = rep(1:2, each = 3),
Quantile = rep(c(0.1, 0.5, 0.9), times = 2),
Estimated_QC = runif(6, -1, 1),
CI_Lower = rep(-0.5, 6),
CI_Upper = rep(0.5, 6)
)
# Use :: for namespace clarity, avoid library() calls
plot_quantile_heatmap(df, label_levels = TRUE, palette = viridisLite::viridis(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.