dynamicplot | R Documentation |
This function allows to run a Shiny web application to explore the localization data
dynamicplot(x)
var |
the localization data of a single image to be viewed in the dynamic Shiny plot |
dbdata |
dbscan clustering object of the localizations in the |
overlay |
a |
In the shiny application one can drag on the plot to select clusters with certain values, those will be color codes in the plot on the right. Additionally it is possible to zoom-in in the image, by dragging in the image, the plot and image will be shown for the selected zoom-in area.
dynamicplot(smolrdata[smolrdata$Channel==1,],eps = 50,MinPts=5)
dynamicplot(smolrdata[smolrdata$Channel==3,],eps = 50,MinPts=5)
download.file("https://github.com/maartenpaul/SMoLR_data/raw/master/dynamicplot_data.zip","dynamicplot_data.zip")
unzip("dynamicplot_data.zip")
load("dynamicplot_data.Rdata")
dynamicplot(locdata)
#preload the data
dbdata <- SMOLR_DBSCAN(locdata)
overlay <- SMOLR(locdata)
dynamicplot(locdata,dbdat=dbdata,overlay=overlay)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.