From a56f24f5a0a5f34d5c599fd4ba95ec8bceb21ac2 Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Tue, 4 Sep 2018 09:37:39 +0900 Subject: [PATCH] doc by pkgdown::build_site --- docs/LICENSE-text.html | 3 + docs/authors.html | 3 + docs/index.html | 50 +++-- docs/news/index.html | 250 +++++++++++++++++++++++++ docs/reference/cluster.html | 15 +- docs/reference/cluster_xmap.html | 23 ++- docs/reference/find_centers.html | 30 ++- docs/reference/find_centers_kpp.html | 5 +- docs/reference/group_cluster.html | 13 +- docs/reference/index.html | 43 ++++- docs/reference/print.qntmap.html | 17 +- docs/reference/qltmap_cls_centers.html | 174 +++++++++++++++++ docs/reference/qltmap_load.html | 168 +++++++++++++++++ docs/reference/qntmap.html | 3 + docs/reference/qntmap_cls_pois.html | 173 +++++++++++++++++ docs/reference/qntmap_quantify.html | 179 ++++++++++++++++++ docs/reference/quantify.html | 20 +- docs/reference/read_cnd.html | 5 +- docs/reference/read_qnt.html | 7 +- docs/reference/read_xmap.html | 17 +- docs/reference/save4qm.html | 37 ++-- docs/reference/summary_methods.html | 163 ++++++++++++++++ docs/reference/tidy_epma.html | 3 + man/save4qm.Rd | 2 +- 24 files changed, 1290 insertions(+), 113 deletions(-) create mode 100644 docs/news/index.html create mode 100644 docs/reference/qltmap_cls_centers.html create mode 100644 docs/reference/qltmap_load.html create mode 100644 docs/reference/qntmap_cls_pois.html create mode 100644 docs/reference/qntmap_quantify.html create mode 100644 docs/reference/summary_methods.html diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 8179c4e..b42cfaa 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -72,6 +72,9 @@
PoiClaClu:Classify()
R/cluster.R
cluster.Rd
Poisson distribution based custering based on `PoiClaClu:Classify()`
+Poisson distribution based custering based on PoiClaClu:Classify()
c-by-p matrix returned by `find_centers()` or by manually; c clusters and p features. Used to guess initial centers (or centroids) of clusters. A value returned by , typically `data.frame` or `matrix`, indicating initial guess centers (or centroids) or clusters. See `find_centers()`.
c-by-p matrix returned by find_centers()
or by manually; c clusters and p features. Used to guess initial centers (or centroids) of clusters. A value returned by , typically data.frame
or matrix
, indicating initial guess centers (or centroids) or clusters. See find_centers()
.
R/cluster.R
cluster_xmap.Rd
cluster mapping data into mineral species
+Cluster mapping data into mineral species
a `qm_xmap`` class object
a qm_xmap
class object returned by read_xmap
c-by-p matrix returned by `find_centers()` or by manually; c clusters and p features. Used to guess initial centers (or centroids) of clusters. A value returned by , typically `data.frame` or `matrix`, indicating initial guess centers (or centroids) or clusters. See `find_centers()`.
c-by-p matrix returned by find_centers()
or by manually; c clusters and p features. Used to guess initial centers (or centroids) of clusters. A value returned by , typically data.frame
or matrix
, indicating initial guess centers (or centroids) or clusters. See find_centers()
.
A character vector indicating which elements to be utilized in cluster analysis. `NULL`, in default, selects as much elements as possible are utilized in cluster analysis.
A character vector indicating which elements to be utilized in cluster analysis. NULL
, in default, selects as much elements as possible are utilized in cluster analysis.
`TRUE` or `FALSE` to save result.
TRUE
or FALSE
to save result.
`TRUE` or `FALSE` to integrate same phase with obiously different compositions. For example, when there are clusters named as Pl_NaRich and Pl_NaPoor, they are grouped as Pl.
TRUE
(default) or FALSE
to integrate same phase subgrouped using suffix. For example, when there are clusters named as Pl_NaRich and Pl_NaPoor, they are grouped as Pl.
cluster_xmap()
— find_centers • qntmapcluster_xmap()
R/find_centers.R
find_centers.Rd
Initialize centroids for `cluster_xmap()`
+Initialize centroids for cluster_xmap()
find_centers(xmap, qnt, fine_phase = NULL, saveas = "centers0.csv") - -qltmap_cls_centers(wd = ".", dir_map = ".", xmap, qnt, - fine_phase = NULL, saveas = "centers0.csv")+
find_centers(xmap, qnt, fine_phase = NULL, saveas = "centers0.csv")
An object which can be coerced to `matrix`, typically `matrix` itself or `data.frame`.
An object which can be coerced to matrix
, typically matrix
itself or data.frame
.
When data points are assigned to clusters A_1 and A_2, +
When data points are assigned to clusters A_1 and A_2, their clusters are renamed to be A by matching regular expressions.
`qm_cluster` class object returned by `qltmap_cls_pois()`.
qm_cluster
class object returned by qltmap_cls_pois()
.
`TRUE` or `FALSE` to save result (default: `TRUE`).
TRUE
or FALSE
to save result (default: TRUE
).
A regular expression of suffix (default: `'_.*'`)
A regular expression of suffix (default: '_.*'
)
Poisson distribution based custering based on `PoiClaClu:Classify()`
Poisson distribution based custering based on PoiClaClu:Classify()
cluster mapping data into mineral species
Cluster mapping data into mineral species
Initialize centroids for `cluster_xmap()`
Initialize centroids for cluster_xmap()
`print` method for `qntmap` class object
print
method for qntmap
class object
(Deprecated) Use find_centers
(DEPRECATED) Use read_xmap
qntmap_quantify()
+ (Deprecated) Use cluster_xmap()
(Deprecated) Use quantify.
quantify qualtitative mapping data
qltmap_load()
+ read X-ray map data
summary methods
print
method for qntmap
class object — print.qntmap • qntmapprint
method for qntmap
class objectR/print.R
print.qntmap.Rd
`print` method for `qntmap` class object
+print
method for qntmap
class object
`qntmap` class object returned by `quantify()` or `qntmap()`.
qntmap
class object returned by quantify()
or qntmap()
.
`TRUE` or `FALSE` to summarize x (default: `TRUE`.
TRUE
or FALSE
to summarize x (default: TRUE
.
(Deprecated) Use find_centers
+ +qltmap_cls_centers(wd = NULL, dir_map, phase_fine = NULL, + qnt = read_qnt(paste0(wd, "/.qnt")), qltmap = read_xmap(dir_map), + saving = "centers_initial0.csv")+ +
wd | +working directory which contains .qnt directory. Use current directory if NULL |
+
---|---|
dir_map | +path to the directory which contains mapping data. |
+
phase_fine | +fine grained phases which tend to be appear in multi-phase pixels e.g., c('Pl', 'Amp') |
+
qnt | +an object generated by qnt_load or a path to the .RDS file created by qnt_load |
+
qltmap | +an object generated by qltmap_load or a path to the .RDS file created by qltmap_load |
+
saving | +file name to save. FALSE if not saving. |
+
(DEPRECATED) Use read_xmap
+ +qltmap_load(wd = ".", DT = 0, RDS, renew = FALSE, saving = TRUE)+ +
wd | +directory path containing mapping data (e.g., ./.map/.1) |
+
---|---|
DT | +dead time in nano seconds (0 nsec in default) |
+
RDS | +ignored. |
+
renew | +if TRUE and the file specified by RDS exists, that file will be loaded |
+
saving | +whether or not to save the data as RDS file |
+
cluster_xmap()
— qntmap_cls_pois • qntmap(Deprecated) Use cluster_xmap()
qntmap_cls_pois(centers_initial, qltmap = NULL, elements = NULL, + wd = ".", saving = TRUE, integration = TRUE)+ +
centers_initial | +Equivalent to |
+
---|---|
qltmap | +Equivalent to |
+
elements | +A character vector indicating which elements to be utilized in cluster analysis. |
+
wd | +Path to the working directory. |
+
saving | +
|
+
integration | +Equivalent to |
+
(Deprecated) Use quantify.
+ +qntmap_quantify(wd = ".", dir_map, RDS_cluster, maps_x = NULL, + maps_y = NULL, fine_phase = NULL, fine_th = 0.9, + qnt = qnt_load(wd), qltmap = qltmap_load(dir_map), + cluster = readRDS(RDS_cluster))+ +
wd | +working directory which contains .qnt and .map directories |
+
---|---|
maps_x | +A x-axis size of maps comprising guide net map (default: |
+
maps_y | +A y-axis size of maps comprising guide net map (default: |
+
fine_phase | +A character vector to specify fine grained phases which tend to comprise multi-phase pixels e.g., c('Pl', 'Amp') |
+
fine_th | +0.9 |
+
qnt | +
|
+
cluster | +
|
+
quantify(xmap, qnt, cluster, maps_x = NULL, maps_y = NULL, - fine_phase = NULL, fine_th = 0.9, fixAB = NULL, fixB = NULL) - -qntmap_quantify(xmap, qnt, cluster, maps_x = NULL, maps_y = NULL, fine_phase = NULL, fine_th = 0.9, fixAB = NULL, fixB = NULL)
`qm_xmap` class object returned by `read_xmap()`.
qm_xmap
class object returned by read_xmap()
.
`qm_qnt` class object returned by `read_qnt()`.
qm_qnt
class object returned by read_qnt()
.
`qm_cluster` class object returned by `cluter_xmap()`.
qm_cluster
class object returned by cluter_xmap()
.
A x-axis size of maps comprising guide net map (default: `NULL`).
A x-axis size of maps comprising guide net map (default: NULL
).
A y-axis size of maps comprising guide net map (default: `NULL`).
A y-axis size of maps comprising guide net map (default: NULL
).
fix AB in case compositions of a mineral is constant (default: `NULL`).
fix AB in case compositions of a mineral is constant (default: NULL
).
fix B (default: `NULL`).
fix B (default: NULL
).
A default method which returns a result of `readLines(x)` +
A default method which returns a result of readLines(x)
with additional class according to the content of the file.
read_qnt(wd = dir(pattern = ("(.*_QNT|^\\.qnt)$"), all.files = TRUE)[1], phase_list = NULL, renew = FALSE, saving = TRUE) -qnt_load(wd = NULL, RDS = "qnt.RDS", phase_list = NULL, - renew = FALSE, saving = TRUE)+qnt_load(wd = NULL, RDS, phase_list = NULL, renew = FALSE, + saving = TRUE)
.map, .cnd | -regular expressions to match ASCII converted mapping results (`.map`) and condition files (`.cnd`) |
+ regular expressions to match ASCII converted mapping results ( |
---|
DEPRECATED!! use read_xmap
- diff --git a/docs/reference/save4qm.html b/docs/reference/save4qm.html index 785a881..ba6eb5d 100644 --- a/docs/reference/save4qm.html +++ b/docs/reference/save4qm.html @@ -75,6 +75,9 @@whether or not to save
TRUE
or FALSE
to save result file(s).
A path to the directory to save `x`.
A path to the directory to save x
.
`invisible(x)`
+invisible(x)
save4qm.default
A default method. -This is a wrapper of `saveRDS` together with invisible return of `x`.
+This is a wrapper ofsaveRDS
together with invisible return of x
.
- save4qm.data.frame
A method for `data.frame` class. -This is a wrapper of `data.table::fwrite` -together with invisible return of `x`.
+A method for data.frame
class.
+This is a wrapper of data.table::fwrite
+together with invisible return of x
.
save4qm.qm_cluster
A method for `qm_cluster` class returned by `cluster_xmap()` or `cluster_group()`. +
A method for qm_cluster
class returned by cluster_xmap()
or cluster_group()
.
Object is saved as RDS file and png file.
The latter shows distribution of phases among a mapped area.
save4qm.qntmap
A method for `qntmap` class returned by `qntmap()` or `quantify()`
+A method for qntmap
class returned by qntmap()
or quantify()
save4qm.default
save4qm.data.frame
save4qm.qm_cluster
save4qm.qntmap