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?).
This question came up during the review for PR #247 :
Should we restrict the
spectraData
andspectraData<-
methods to exclusively return/accept aDataFrame
?Some backends, specifically those that store the data in a
data.frame
or a database need to convert data to/fromDataFrame
which can be inefficient. Maybe it would be better to relax the definition in theMsBackend
API to support more two-dimensional data structures such asdata.frame
,DataFrame
(tibble
?).