raw_data class
raw_data.Rd
raw_data class
Arguments
- metabolomics_matrix
a
data.frame
, matrix containing biocrates data- LOD_table
a
list
containing two elements:table
: LOD table of limits of detection / quantification,types
: character vector of types of values, for example calc. meaning calculated from samples and op, received from operator.
- metabolites
a
character
, vector of metabolites names contained in the data.- group
a
NULL
indicating no grouping or a vector ofcharacter
names of group columns. Default to NULL. The code will throw an error in the case when:column of such a name won't be contained in the dataset,
there will be NA's in the grouping column,
any group will have less than 2 observations.
Value
raw_data
object metabolomics matrix with the following
attributes:
LOD_table
NA_info
: alist
related to missing values in the data. It containsNA_ratios
: fractions of missing values per every metabolite. Whengroup
parameter (see below) is provided andcounts
: table of types of missing values with their counts (related to "sample" type samples).metabolites
samples
: adata.frame
containing names of samples types and their countsgroup
: a character name of group from the tableremoved
: a list of removed metabolitesplate bar code
: each measurement has two plate bar codes depending on the method used