| setData {RMassBank} | R Documentation |
RmbSpectrum2 data from data.frameSets all slots which are present as columns in the given dataframe. Optionally cleans the object, i.e. empties slots not defined in the data frame.
## S4 method for signature 'RmbSpectrum2,data.frame' setData(s, df, clean = TRUE)
s |
The |
df |
The data frame with new data |
clean |
|
The modified RmbSpectrum2.
stravsmi