Skip to contents

Read and tidy a SPECTRAmax file

Usage

read_spectramax(path, date = Sys.Date(), wavelengths = NULL)

Arguments

path

Path to the SPECTRAmax .txt file

date

Date of experiment. If not supplied, uses current date.

wavelengths

What wavelengths were read in this experiment?

Value

A list, with the following form:

data

a tibble that contains two columns - the type, and the (tidy) data itself in a list-column.

raw_data

a raw representation of the file, before tidying

date

character. The date of the experiment

experiment_type

character. The type of experiment (currently only pq (Protein Quantification) and mtt supported)

tidy

logical. Should always return TRUE if read in using read_spectramax

Details

SPECTRAmax files cannot be read in easily without tidying them simultaneously, due to their non-rectangular structure. Therefore, tidying is required to be read in and is not an option supplied.