https://github.com/aariq/chemhelper
Helper Functions For Dealing With GCMS and LCMS data from IonAnalytics
https://github.com/aariq/chemhelper
analytical-chemistry multivariate-analysis pls
Last synced: 4 months ago
JSON representation
Helper Functions For Dealing With GCMS and LCMS data from IonAnalytics
- Host: GitHub
- URL: https://github.com/aariq/chemhelper
- Owner: Aariq
- License: other
- Created: 2018-03-28T14:46:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T19:42:40.000Z (about 3 years ago)
- Last Synced: 2025-02-01T20:51:11.991Z (about 1 year ago)
- Topics: analytical-chemistry, multivariate-analysis, pls
- Language: R
- Size: 378 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ChemHelper
[](https://www.repostatus.org/#unsupported)
[](https://travis-ci.org/Aariq/chemhelper)[](https://codecov.io/gh/Aariq/chemhelper)
I created this package as a place to house custom functions I've used a lot in analyses of analytical chemistry data durring my PhD. Some of these functions are essentially **tidy** wrappers for functions from the `ropls` package that allow extraction of results from model objects into tidy data frames. the `*_IA()` functions deal with csv files output by Ion Analytics, an in-house deconvolution software. Although it exports data as csv files, they are challenging due to line breaks within column headings, and a few other issues. Other utilities include a version of `scale()` with many additional options for scaling, and a function to calculate retention indices for GC data given retention times and numbers of carbons of alkanes. Although this package was primarily built with only me in mind, feel free to fork it or install it.
### Installation
You can install `chemhelper` from r-universe like so:
```r
# Install chemhelper in R:
install.packages('chemhelper', repos = c('https://aariq.r-universe.dev', 'https://cloud.r-project.org'))
```
Or you can install it directly from GitHub using the `remotes` package like so:
```r
library(remotes)
install_github("Aariq/chemhelper")
```