NEWS.md
Fix qntmap()
raising error on the Mapping conditions pane of the Input page, “Can’t create column Values
: Can’t combine ..1
..2
Fix cluster_xmap()
raising error when checking unit of pixels (#36)
autoplot.qm_xmap()
supports data with unknown step size.qntmap()
to enjoy it.qntmap()
default to use shiny
web app. Specify shiny = FALSE
to use legacy console-based intearactive mode. Note that the legacy one is no more maintained.read_qnt()
renew
optionsaving
option only to save phase list, no more to cache dataread_xmap()
saving
and the renew
optionx
and y
indicating coordinates of pixels instead of a listcluster_xmap()
center
attribute unlike older one returned a listgroup_cluster
option. Instead, apply group_subclusters()
to the result to integrate subclusters.group_subclusters
in the format of only png and svggroup_subclusters()
group_cluster()
cluster_xmap()
but lacks the center
attribute.pick()
changed its first argument to .df
from .data
.magma
color scale become the default one to plot of mapping data instead of the viridis
.message
rather than cat
so that they can be suppressed by users.autoplot()
methods are implemented to follow the best practice of ggplot2
. From now on, plot()
methods are wrappers of autoplot
.find_outlier()
is implemented to detect outliers cause mainly by mapping fine grained phases.find_outlier()
is implemented to detect unexpectedly high or low mapping intensities compared to spot intenstieis, which typically occurs due to outliers are analysing multi-phase pixelsfind_centers()
find_outlier()
phase
and element
: Specifying them controls which phases and elements are used to find outliers. They suppot tidyeval. For example element = c(Si, Ti, Al)
indicates the 3 elements are used, and element = c(-Si, -Ti, -Al)
indicates the 3 elements are NOT used.epma
: If tidy_epma
is already performed, then specify the result here to save time.fine_phase
which is generalized by phase
.tidy_epma
has new arguments subcluster
and suffix
.hmean()
and vmean()
supports the objects with class qntmap
, qm_xmap
, and qm_cluster
.mPreviously they only supported the qntmap
class object.ggplot2
are no longer pre-compiled at installation stage. This is to avoid possible conflicts on updates on ggplot2
after installing qntmap
.quantify()
get the params
attribute showing the parameters, alpha, beta, and gamma.autoplot.qm_epma()
is defined for the result of tidy_epma()
tidy_epma()
returns qm_epma
class object.gghist.numeric()
correct_deadtime()
supports re-calculation of dead time.prioritize()
accepts unnamed vector.save4qm()
methods, summary()
methods, pick()
, mean()
, vmean()
, and hmean()
are re-written to support new data structures.correct_deadtime()
is factored out from read_xmap()
, but not exported currently.base_size
, so that the appearance can be optimized in Shiny App.qntmap-package.R
to avoid importing the same funcions in multiple files.setup.R
.cluster_xmap()
passes ...
to PoiClaClu::Classify()
, enabling
vmean()
and hmean()
to calculate profile of mean values of mapping data. vmean()
stands for vertical mean and hmean()
for horizontal mean.plot()
png
image without legend, and a ggplot2 plot with legend saved as svg
.
quantify()
no more calculates standard errors by default. This is to save time and memory usage. Set se = TRUE
to calculate the errors.quantify()
is changed.
quantify()
and tidy_epma()
supports maps and spots analyzing inequal elements.
Example | Mapped elements | Spot elements |
---|---|---|
A | Si, Ti, Mg | Si, Mg |
B | Si, Mg | Si, Ti, Mg |
C | Si, Ti, Mg | Si, Mg, Ca |
quantify()
saves parameters alpha, beta, gamma, and their standard errors when saving = TRUE
.quantify()
loads parameters from a csv file by giving its path to fix
parameter.read_qnt()
and read_xmap()
supports to retrieve analytical conditions from manually prepared csv files. This feature is implemented to avoid failures in reading data caused by difference in formats output by different EPMA instruments.plot()
of mapping data shows coordinates and a chemical composition of a selected element.quantify()
supports fixing compositions of certain components of phases.qltmap_cls_centers
qltmap_load
qnt_load
qntmap_cls_pois
qntmap_quantify
qntmap()
will be maintained without new features to focus on developing web user interface with shiny
package.plot()
segment()
imager
package. #16
read_xmap()
xmap.RDS
in case renew = FALSE
c('qm_xmap', 'list')
plot
function.
shiny = TRUE
gives rich interactive features although still under development.mean
to calculate mean value of quantitative maps.
index
enables index or mask based calculation of mean. See https://qntmap.atusy.net/articles/qntmap.html#summary-based-on-mask-images for more detail.Check NEWS as 0.2.0 have lots of breaking changes.
verb_hoge
style. This leads some functions to be deprecated or defunct. See “Summary of defunct, deprecated, and unexported functions”.cipois
and flag0
.attributes
. For example,
dir_map
or wd
in use of epma_tidy
, qltmap_cls_centers
, qltmap_cls_pois
, qltmap_load
, and so on. However, now is only specified in read_xmap
.read_qnt
to save its result (qnt.RDS
) and semi-product (phase_list0.csv
) in the directory containing .qnt
files unlike qnt_load
saved them under the working directory.PoiClaClu::Classify
in cluster_xmap
(formerly qltmap_cls_pois
) is isolated as cluster
quantify
are calculated using find_AB
, find_AG
, and find_B
save4qm
.find_centers
(former qltmap_cls_centers
) become more robust against multi-phase pixels by - finding pixels analyzing multi-phase pixels by comaring with corresponding quantified points. - predicting X-ray map counts of a target phase in multi-phase pixels based on regression analysis.cluster_xmap
does not group_clusters
by default.matrixStats
package, and so on.quantify
supports fixing internal parameters (A
and B
).old (0.1.0) | new (0.2.0) | condition of old |
---|---|---|
cipois |
cipois |
unexported |
epma_tidy |
tidy_epma |
defunct |
flag0 |
flag0 |
unexported |
qltmap_cls_centers |
find_centers |
deprecated |
qltmap_cls_centers_random |
find_centers_kpp |
defunct |
qltmap_cls_pois |
cluster_xmap |
deprecated |
qltmap_cls_pois_integrate |
group_clusters |
defunct |
qltmap_load |
read_xmap |
deprecated |
qnt_load |
read_qnt |
deprecated |
qntmap_quantify |
quantify |
deprecated |