MS_wise: Converting standard wide format MS comparison data (WFDT) to...

MS_wiseR Documentation

Converting standard wide format MS comparison data (WFDT) to standard long format (LFDT)

Description

Converting standard wide format MS comparison data (WFDT) to standard long format (LFDT)

Usage

MS_wise(data, force_IDs = NULL)

Arguments

data

A data frame or data table with m + n columns where m (usually two) of them are ID columns and n of them is numeric columns consisting of measurement results for each measurement system

force_IDs

If you want to type in the ID column names manually, you may specify them here. This is only recommended if the column ID names are far from the standard names. For example, if the Sample ID column is named 'WDXQXX' and Replicate ID column 'RGDHEC', or is in a language very different from Scandinavian languages and English

Details

If you specify force_IDs to your ID column names, the output will keep these names. It is then recommended to run fix_column_names_2(data = output, n_ids = 3, LFDT = TRUE, MOR = FALSE, slack = 4) to make the output into the standard form so that further functions may be used

Value

A data table of format LFDT, with m + 3 columns where the latter three columns are MS comparison ID column (new) and resulting numeric columns in this comparison

Examples

MS_wise(sampled_eqam_measurements)

pernille267/commutability.selectivity documentation built on July 20, 2022, 9:11 a.m.