import_layout_from_paths.maldi: Establish the experiment layout from nested directories for...

Description Usage Arguments Details See Also

View source: R/maldi_fun.R

Description

This wrapper conveniently establishes the experiment layout from nested file groups as exported by Bruker FlexAnalysis. Here, measurements for each plate position (well) are saved in a folder such as "0_A1", "0_A2", etc. Replicate measurements of the same well are grouped in subfolders such as "0_A1/1", "0_A1/2" etc.

Usage

1
2
3
4
5
import_layout_from_paths.maldi(
  paths,
  pivot = "[0-9]_[A-Z]+[0-9]+",
  relative_to = getwd()
)

Arguments

paths

A list character vector or list of file paths. See Details.

pivot

A regular expression describing the name of a single folder in each tree up to which "groups" and from which "replicates" are established. See Details.

relative_to

If not NULL, this subpath is hidden from the paths for all operations; "" to suppress hiding; NULL will hide the subpath that is common in all elements of paths.

Details

pivot must contain a regular expression to identify the well, i.e., contain [A-Z]+[0-9]+".

The resulting grouped data frame is grouped by well.

See Also

import_layout_from_paths


benjbuch/summerrmass documentation built on Dec. 19, 2021, 8:43 a.m.