Learn R Programming

NormalizeMets (version 0.25)

metgroupCheck: Check data compatibility

Description

Check if the group data matches the metabolite data in size, returns error message if not compatible

Usage

metgroupCheck(metdata, groupdata)

Arguments

metdata

A data frame in the met data format. This should have sample names in the first column to be read as row names and the variables in the remaining columns. These variables can be metabolites, masses, retention times, bins, areas or any other metabolomics variables of interest.

groupdata

A data frame or a table with optional sample names in the first column to be read as row names and group names in the following column.