Load the full ion map data (incl. ROI locations) exported from LANS analyses and attach additional information to each analysis. Uses read_map_data to read individual matlab export files.

load_LANS_maps(
  analysis,
  ...,
  base_dir = ".",
  ion_data_only = TRUE,
  quiet = FALSE
)

Arguments

analysis

- vector of LANS analysis folder names

...

- vectors of additional information to attach to each analysis, each argument has to have the same length as the 'analysis' parameter (or length 1)

base_dir

- the directory where all the analysis folders are located (defaults to current directory)

ion_data_only

- whether to import only ion data [TRUE by default], rather than any derived files (e.g. ratios calculated within LANS). Recommend using calculate_ratios and calculate_abundances to process the raw ion counts in easy format and good error propagation.

quiet

- whether to report information on the loaded data or not