| interactivate.kde {InteractiveComplexHeatmap} | R Documentation |
Interactive Shiny application for 2D density distribution
## S3 method for class 'kde' interactivate(x, ...)
x |
a |
... |
Other arguments. |
if(interactive()) {
require(ks)
lt = readRDS(system.file("extdata", "2d_density_xy.rds", package = "InteractiveComplexHeatmap"))
data = cbind(lt$x, lt$y)
fit = kde(data)
interactivate(fit)
}