RIAssigner.cli.LoadDataAction

Functions

load_data(filename, filetype, rt_unit)

Load data from file and create a Data instance.

Module Contents

RIAssigner.cli.LoadDataAction.load_data(filename, filetype, rt_unit)[source]

Load data from file and create a Data instance.

Parameters:
  • filename (str) – Path to the data file.

  • filetype (str) – Type of the data file. Supported types are ‘msp’, ‘csv’, ‘tsv’, ‘tabular’, ‘parquet’.

  • rt_unit (str) – Retention time unit.

Returns:

Data instance.

Return type:

Data