diff --git a/vignettes/add_phase.Rmd b/vignettes/add_phase.Rmd index 9d4eb34..0c37b5b 100644 --- a/vignettes/add_phase.Rmd +++ b/vignettes/add_phase.Rmd @@ -158,7 +158,7 @@ centers ### Compare the initial centroids with X-ray map plotted with heatmap ```{r} -plot(xmap, 'Si', interactive = TRUE) +plot(xmap, 'Si', interactive = FALSE) ``` In this case, an analysist will notice there is something other than olivine. diff --git a/vignettes/basic.Rmd b/vignettes/basic.Rmd index 78e697d..0fb69c7 100644 --- a/vignettes/basic.Rmd +++ b/vignettes/basic.Rmd @@ -38,7 +38,9 @@ formals(read_xmap)$renew <- This vignette introduce a basic procedure of analysis using `qntmap` package using example data. -See https://doi.org/10.2138/am-2018-6323CCBY for technical details. +See https://atusy.github.io/qntmap/#epma-analysis for preparing EPMA data. + +See https://doi.org/10.2138/am-2018-6323CCBY for implementations. # Preparation @@ -109,14 +111,20 @@ plot(xmap, 'Si', interactive = FALSE) + ## Plot X-ray map data as heatmap -Plots are by default **interactive**. -Specify 'Si' instead of 'Mg' to see Si map. -Specify `interactive = FALSE` if necessary. +Plots are by default **interactive** with webui. +Selection of elements can be done on webui. -```{r} -plot(xmap, 'Mg', interactive = TRUE) +```{.r} +plot(xmap) +# A following example is non-interactive mode run by +# plot(xmap, 'Mg', interactive = FALSE) ``` +```{r, echo = FALSE} +plot(xmap, 'Mg', interactive = FALSE) +``` + + ## Cluster analysis ### Initialize cluster centers