sampleList_multiplyRows: Multiply Rows in Sample List

View source: R/prep_SampleList.r

sampleList_multiplyRowsR Documentation

Multiply Rows in Sample List

Description

Reads in the sample list located in the folder sampleLists/sl_in and, if it contains only one row for each sample, is multiplying each row by the number of consecutive scans as defined in nrConScans in the metadata file. If a correction value in an error column is present, it is applied when multiplying the rows of the sample list.

Usage

sampleList_multiplyRows(md = getmd(), overwrite = FALSE)

Arguments

md

An object of class aquap_md containing the metadata of the experiment. Defaults to getmd(), what is calling the default filename for the metadata file. See getmd and metadata_file.

overwrite

Logical. If the single line sample list file should be overwritten. If FALSE (the default), the single line file remains in sampleLists/sl_in, but it will be renamed.

Value

Invisible TRUE if the sample list was multiplied and the old sample list was renamed; invisible FALSE if not multiplication of the sample list took place.

See Also

Other Import-Export: exportSampleList()


bpollner/aquap2 documentation built on March 29, 2024, 7:33 a.m.