Skip to contents

MO.Affinity Analysis records which view an Excel export was made from in its Exported from: field. mst_export_type() reads that field and returns a short identifier, which read_mst() uses to pick a reader. It also recognises the project files written by MO.Control (.moc) and MO.Affinity Analysis (.nta), which are SQLite databases.

Usage

mst_export_type(path)

Arguments

path

Path to an .xlsx file exported from MO.Affinity Analysis, or a .moc or .nta project file.

Value

A string, one of:

  • "traces": MST Traces, including the Raw Data Inspection variant.

  • "capillary_scan": Capillary Scan.

  • "compare_chart": Compare Results (Chart).

  • "compare_grid": Compare Results (Grid).

  • "dose_response_grouped": Dose-Response (Grouped).

  • "dose_response_flat": Dose-Response (Flat).

  • "affinity_project": an MO.Affinity Analysis project (.nta), with both the measurements and their analysis.

  • "control_project": an MO.Control project (.moc), with the measurements only.

Examples

mst_export_type(tidymst_example("dppr10-cy5_traces.xlsx"))
#> [1] "traces"
mst_export_type(tidymst_example("dppr10-cy5_compare-fnorm.xlsx"))
#> [1] "compare_chart"
mst_export_type(tidymst_example("dppr10-cy5.nta"))
#> [1] "affinity_project"