Mutate a peak table data frame either stand-alone (iso_get_peak_table
) or within isofile objects. Works just like dplyr's mutate for changing existing columns or introducing new ones, except that it provides an information message and preserves column units even in grouped operations (mutate should gain this functionality in version 0.9).
iso_mutate_peak_table(iso_files, ..., quiet = default(quiet)) # S3 method for iso_file_list iso_mutate_peak_table(iso_files, ..., group_by = NULL, quiet = default(quiet)) # S3 method for data.frame iso_mutate_peak_table(peak_table, ..., group_by = NULL, quiet = default(quiet))
iso_files | collection of iso_file objects |
---|---|
... | dplyr-style mutate conditions applied to the combined peak_table (see |
quiet | whether to display (quiet=FALSE) or silence (quiet = TRUE) information messages. Set parameter to overwrite global defaults for this function or set global defaults with calls to iso_turn_info_message_on and iso_turn_info_message_off |
group_by | a single group_by column to group by before applying the mutate statement |
peak_table | data frame with the peak table (can be grouped prior to this function call or via the |
Other peak table functions:
iso_get_peak_table()
,
iso_set_peak_table_from_vendor_data_table()
,
iso_set_peak_table()