Select which file info columns (iso_get_file_info) to keep within isofile objects. Works just like dplyr's select except that it can select different columns in different iso_files depending on what exists in each file (also works for on-the-fly renaming of columns). This is very useful when working with data from multiple instruments that may have the same information (e.g. sample name) stored in different columns. You can also use select directly but it will not provide summary information on the operation. To rename columns without removing all other information, use iso_rename_file_info instead.

iso_select_file_info(iso_files, ..., quiet = default(quiet))

Arguments

iso_files

collection of iso_file objects

...

dplyr-style select conditions applied based on each file's file_info (see iso_get_file_info). Note that the file_id column will always be kept, no matter the selection criteria, and cannot be renamed to protect from unexpected behaviour.

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

See also