This function retrieves detailed experiment information for all LC-MS runs in a specified batch from the DMS database. It can return either a simplified view with key columns or all available experiment details.

get_batch_experiments(batch_id, simplified = TRUE)

Arguments

batch_id

The batch number to query (numeric)

simplified

Logical; if TRUE returns simplified view with key columns, if FALSE returns all experiment columns. Default is TRUE.

Value

A data frame containing experiment details for all runs in the batch. The returned columns depend on the simplified parameter.

Examples

if (FALSE) { # \dontrun{
  if (is_PNNL_DMS_connection_successful()) {
    # Get simplified view
    batch_details <- get_batch_experiments(11495)
    
    # Get all experiment columns
    batch_details_full <- get_batch_experiments(11495, simplified = FALSE)
  }
} # }