This R package is a collection of utility functions to work with objects of the class hyperSpec as defined by the package {hyperSpec}. While it is independent from the popular {hyperSpec} package (written by Claudia Beleites), {hyperSpec.utils} intends to add some convenient shortcuts for data analysis, some more conversion, import and export functions, tools for interactive data exploration, as well as some extended functionality (such as cosmic ray removal). The package can be considered as work in progress and substantial (also backwards incompatible) changes are to be expected.

Installation

You can install hyperSpec.utils from GitHub with:

# install.packages("remotes")
remotes::install_github("konradmayer/hyperSpec.utils")

Use the argument dependencies = TRUE to also install suggested dependencies, mainly needed for the function spcmap_explorer(), as well as individual plotting, import/export and conversion functions.

What is yet to come?

Multiple additional functions are currently planned and ideas are added to the issues section with an label: enhancement label attached.

If you have more ideas for useful functions, please open an issue with appropriate tag, or, even better, open a pull request to propose your ideas on a possible implementation.

What is included?

The package will get continuously extended and currently holds functions

Acknowledgments

This package was developed at the BIONAMI (biological materials at the nano and micro scale) group at the University of Natural Resources and Life Sciences, Vienna, Institute for Biophysics, with funding from the European community (ERC-consolidator grant SCATAPNUT 681885).