Skip to contents

Sets the analysis order (sequence) based on either (i) analysis timestamp, if available, (ii) the order in which analysis appeared in the imported raw data file, or (iii) the order in which analyses were defined in the Analysis metadata.

Usage

get_batch_boundaries(data = NULL, batch_ids = NULL)

Arguments

data

MidarExperiment object

batch_ids

A vector with one or two elements: the first and/or last batch ID. If NULL or invalid, the function will abort.

Value

A vector with two elements: the lower and upper analysis number for the specified batch(es).