krumsieklab / maplet

R statistical toolbox for metabolomics
GNU General Public License v3.0
17 stars 6 forks source link

Make any SE object maplet compatible #162

Closed KelseyChetnik closed 3 years ago

KelseyChetnik commented 3 years ago

(1) write a function that converts any SE object on SE compatible one ($name column, make.names), and (2) document those requirements somewhere.

krumsiek commented 3 years ago

This function also needs to initialize the metadata with an initial entry, similar to a loader function.

KelseyChetnik commented 3 years ago

To-Do List:

KelseyChetnik commented 3 years ago

Questions:

  1. Do the assay columns need R valid names (e.g. can't be called '1', '2', etc. which would mean sample IDs can't just be numbers)?
  2. Should the function throw error if column names not valid (or change them and warn the user)?
  3. Are there any additional requirements?
KelseyChetnik commented 3 years ago

Implemented in 88d27d22b92265af7b760bb20cf98d6508d21ac7.