sipss / GCIMS

Other
3 stars 0 forks source link

New API #13

Closed zeehio closed 2 years ago

zeehio commented 2 years ago

I have been working on a new API for the package.

The API has several design advantages:

I have implemented a part of the vignette, including reshape/cutting and smoothing.

I will go for alignment next. We can review de design of the API if you like. Look at the vignette to see if it makes sense to you. I've used generic functions from ProtGenerics (filterRt) and Biobase (smooth) implementing methods for our classes.

ease the work done at the GUI by @AnitaMSLH I have been working on a whole new API

zeehio commented 2 years ago

The vignette: It runs until line 213 where we exit because the rest isn't implemented yet:

https://github.com/sipss/GCIMS/blob/da951672c3ee3e3aa8eeb021d334d0fce96763fd/vignettes/introduction-to-gcims-alternative-api.Rmd#L1-L213

This branch can be installed with:

remotes::install_github("sipss/GCIMS@sergio/new-api", auth_token= "your-personal-access-token")
zeehio commented 2 years ago

Overview as of 508d1531951482d3d339d83bfee3eb9761df9bd9:

The new API vignette has some differences with respect to the old vignette:

To do things:

Naming issues:

Architecture issues:

Features we could split and depend on:

Dependencies / Imports:

Reading data

Physical units:

Plots

Vignette and docs: