Metabolomics and Spectral Data Analysis and Mining
Overview
Provides methods for metabolomics and spectral data analysis, including data import, preprocessing, visualization, univariate and multivariate analysis, machine learning, feature selection, and pathway analysis. The package supports analytical workflows for different data types used in metabolomics and spectroscopy. Some optional functionality uses the suggested packages 'cyjShiny' and 'specmine.datasets'. The package 'specmine.datasets' is maintained separately at https://github.com/PedroFontao/specmine.datasets.
Install
Health
- OK13 OKNow
- OK6 OK2026-08-06
Documentation
- Help pages
- 121 (11 internal)includes a package overview page
- Examples that run
- 69%83 run in a plain check (20 of them under a condition) · 15 only when donttest examples are enabled (R CMD check --as-cran) · 23 never run
- Exported functions with examples
- 100%
- Documented parameters
- 96%
- Return-value docs
- 100%
- Help pages citing references
- 2%
Downloads
Repository
Commits over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/pedrofontao/specmine on 2026-10-18.
Dependencies
Installing specmine adds 130 packages (69 with compiled code, 99 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB. 2 more not on CRAN are not measured.
Code & Tests
Datasets
People & History
Previously maintained by Miguel Rocha (2.0.2 to 3.1.6) and Christopher Costa (1.0).
Pick two releases to compare their code metrics.
- 4.0.1Latest
- 4.0.02026-09-08 · diff ↗ ·
added 33 exports
airPLS_fast_dataset, ica_analysis_dataset, ica_kmeans_plot2D, ica_kmeans_plot3D, ica_loadingsplot, ica_pairs_kmeans_plot, ica_pairs_plot, ica_scoresplot2D, ica_scoresplot3D, pca_importance, raman_align_peaks, raman_crop_spectra, raman_despike, raman_find_peaks, raman_normalize, raman_normalize_peak_features, raman_sgolay_derivative, raman_transform_fourier, raman_transform_wavelet, tsne_analysis_dataset, tsne_kmeans_plot2D, tsne_kmeans_plot3D, tsne_pairs_kmeans_plot, tsne_pairs_plot, tsne_scoresplot2D, tsne_scoresplot3D, umap_analysis_dataset, umap_kmeans_plot2D, umap_kmeans_plot3D, umap_pairs_kmeans_plot and 3 more - unarchivedReturned to CRAN2026-08-05
- 3.1.82026-08-05 · diff ↗ ·
removed 119 exports
create_2d_dataset, check_dataset, check_2d_dataset, sum_dataset, sum_2d_dataset, get_data, get_data_as_df, get_metadata, get_metadata_var, get_sample_names, get_sample_2d_data, get_x_values_as_num, get_value_label, get_type, get_data_value, get_metadata_value, get_data_values, num_samples, num_x_values, is_spectra, x_values_to_indexes, xvalue_interval_to_indexes, indexes_to_xvalue_interval, variables_as_metadata, metadata_as_variables, set_metadata, set_x_values, set_x_label, set_value_label, set_sample_names and 89 moreadded 5 exports
aov_one_var, convert_keggpathway_2_reactiongraph, create_pathway_with_reactions, get_MetabolitePath, read_spc_nosubhdr - RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- archivedRemoved from CRAN2022-04-04require archived package 'specmine.datasets'
- 3.1.62021-09-21 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 3.1.52021-05-16 · diff ↗
- 3.1.42021-03-04 · diff ↗
- 3.1.32021-02-20 · diff ↗ ·
added 8 exports
create_2d_dataset, check_2d_dataset, sum_2d_dataset, get_sample_2d_data, peak_detection2d, plot_2d_spectra, read_varian_2dspectra_raw, read_Bruker_files_2d - unarchivedReturned to CRAN2020-12-18
Show 20 earlier eventsHide 20 earlier events
- 3.0.3
- archivedRemoved from CRAN2020-11-29requires archived package 'hyperSpec'
- 3.0.22020-09-18 · diff ↗
- unarchivedReturned to CRAN2020-07-10
- 3.0.12020-07-10 · diff ↗
- 3.0.02020-07-10 · diff ↗ ·
removed 3 exports
choose_nmr_references, get_hmdbs_with_specs_id, get_metabolights_study_listadded 7 exports
convert_chebi_to_kegg, convert_multiple_spcmnm_to_kegg, metabolights_studies_list, get_files_list_per_assay, get_metabolights_study_samples_files, get_metabolights_study_files_assay, get_metabolights_study_metadata_assay - RR 4.0.0 released · 2020-04-24
- archivedRemoved from CRAN2019-06-02requires non-portable package 'mzR' from BioC
- RR 3.6.0 released · 2019-04-26
- unarchivedReturned to CRAN2018-05-15
- 2.0.32018-05-15 · diff ↗
- archivedRemoved from CRAN2018-05-13it installed a package from an untrusted source
- unarchivedReturned to CRAN2018-05-11
- 2.0.22018-05-11 · diff ↗ ·
added 15 exports
choose_nmr_references, get_hmdbs_with_specs_id, nmr_identification, get_cpd_names, convert_hmdb_to_kegg, get_OrganismsCodes, get_metabPaths_org, get_paths_with_cpds_org, pathway_analysis, get_metabolights_study_list, get_metabolights_study, read_varian_spectra_raw, read_Bruker_files, detect_nmr_peaks_from_dataset, plot_peaks - RR 3.5.0 released · 2018-04-23
- archivedRemoved from CRAN2018-01-27check problems were not corrected despite reminders
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 1.02015-11-10
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-11-10
- Total releases
- 14 / 11 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 15 KB / 1 file
- Download size
- 4.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("specmine")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.