Spectra icon indicating copy to clipboard operation
Spectra copied to clipboard

Discussion: spectraData,spectraData<- to support also data.frame or other two-dimensional data structues

Open jorainer opened this issue 2 years ago • 0 comments

This question came up during the review for PR #247 :

Should we restrict the spectraData and spectraData<- methods to exclusively return/accept a DataFrame?

Some backends, specifically those that store the data in a data.frame or a database need to convert data to/from DataFrame which can be inefficient. Maybe it would be better to relax the definition in the MsBackend API to support more two-dimensional data structures such as data.frame, DataFrame (tibble?).

jorainer avatar Oct 19 '22 12:10 jorainer