check_metadata_samples: check metadata samples

View source: R/metabolomics_qc.R

check_metadata_samplesR Documentation

check metadata samples

Description

check whether metadata_sample is following guidelines

Usage

check_metadata_samples(
  df,
  cas,
  assay = "OTHER",
  return_n_issues = FALSE,
  verbose = TRUE
)

Arguments

df

(data.frame) metadata_metabolites

cas

(char) CAS site code

assay

(char) Assay code. Options:

  • CONV: for Duke's conventional metabolites

  • OTHER (default): all the other assays.

return_n_issues

(logical) if TRUE returns the number of issues.

verbose

(logical) TRUE (default) shows messages

Value

(int) number of issues identified

Examples

{
check_metadata_samples(df = metadata_sample_named, cas = "umichigan")
}

MoTrPAC/MotrpacBicQC documentation built on Sept. 26, 2024, 11:10 a.m.