seed = NULL is the default of eemsom(), eempf_som(), eemsom_regions(), eemsom_stability(), eemsom_cluster() and eemsom_kselect(). The random number stream of the session is used, so set.seed() before the call gives reproducible results. A number sets the seed for this calculation only, seed = 42 gives the results of earlier versions.eemsom_stability() with cores = 1 keeps the random number stream of the session; before, the seed of its last map remained set.citation("staRsom") is generated from DESCRIPTION. For the package from CRAN, it contains the DOI of the package. The method paper of Ejarque-Gonzalez and Butturini (2014) is cited in DESCRIPTION, README, help pages and vignette.eemsom_split() and eemsom_stability().eemsom_samples() and eemsom_predict() give the number of samples on the unit (hits) and its U-matrix value (umatrix) for each sample. Unusual samples often occupy a unit alone that is separated from its neighbours.eemsom_stability() with type = "loo" returns the leave-one-out distance of each sample (element loo): the distance to its best matching unit on the maps calculated without it. High values indicate candidates for outliers in a subsequent PARAFAC analysis; print() shows the highest values.eemsom_plot_map(), regions in ggeem(), silhouettes and the random map in eemsom_plot_stability(). Numeric sample colours in eemsom_plot_map(type = "samples") (e.g. leave-one-out distances) use the continuous viridis scale. Sample points omit the light yellow end of viridis to remain visible on the white background.eem2mat() always removes wavelength pairs that are missing in all samples, also with na = "keep". kohonen filled them with random values that were never trained, so prototype EEMs, component planes and regions were wrong there.mat2eem() (e.g. by eemsom_codes()) carry the attributes of eemR and can be printed.eemsom_samples(), eemsom_predict(), eemsom_quality() and eemsom_stability() agree. Distances are calculated by matrix products, which is much faster for large data sets.eemsom_plot_map() gains unit_labels to show the numbers of the units.eemsom_regions(): k can be a vector of candidates (default 2:9) or a single number.eemsom_predict() maps new samples to maps of PARAFAC loadings (eempf_som()): their loadings are calculated with the fixed emission and excitation loadings of the model (A_missing() of staRdom). eempf_som objects store the PARAFAC model in the element pfmodel instead of components.na are accepted, keep.data is always TRUE.eemsom_stability() shows the progress with verbose = TRUE. Its results differ slightly from version 0.1.0 because the seeds of the repetitions are drawn differently.eemsom(), eemsom_stability() and the vignette; cross-references between related functions; Language: en-GB.First release.
eem2mat() and mat2eem() convert eemlists to matrices and back, including normalisation and handling of missing values.eemsom() calculates a self-organising map from EEM data; eemsom_samples(), eemsom_codes() and eemsom_quality() extract results.ggeem() method for eemsom objects plots the prototype EEMs arranged like the map; eemsom_plot_map(), eemsom_plot_cplane() and eemsom_plot_training() show map properties, component planes and the training progress.eemsom_cluster() and eemsom_kselect() group the units by hierarchical clustering or k-means; eemsom_plot_silhouette() shows silhouette widths.eemsom_split() splits an eemlist into groups for separate PARAFAC models; eemsom_predict() maps new samples.eemsom_regions() groups wavelength pairs with correlated component planes into fluorescence regions (Ejarque-Gonzalez and Butturini 2014), ggeem() plots them and eemsom_fri() calculates area-normalised regional volumes (Chen et al. 2003).eemsom_stability() assesses the stability of quantisation and neighbourhood relations by bootstrap or leave-one-out (de Bodt et al. 2002), eemsom_plot_stability() compares it to a random map. eemsom() stores its settings for this purpose.eempf_som() calculates a self-organising map from the Fmax loadings of a PARAFAC model (relative or absolute). Prototype EEMs are reconstructed from the PARAFAC components; eemsom_plot_cplane() shows component planes of PARAFAC components with the new argument comps.eemsom_plot_cplane() gains scale = "each" to scale each component plane from 0 to 1.citation("staRsom") gives the package and the method paper of Ejarque-Gonzalez and Butturini (2014).