check_metadata_analyte: Check analyte metadata file

View source: R/lab_qc.R

check_metadata_analyteR Documentation

Check analyte metadata file

Description

Checks whether the metadata_analyte file follows the required guidelines.

Usage

check_metadata_analyte(
  df,
  return_n_issues = FALSE,
  validate_uniprot = FALSE,
  verbose = TRUE
)

Arguments

df

(data.frame) The metadata_analyte data frame to check.

return_n_issues

(logical) If TRUE, returns the number of issues found.

validate_uniprot

(logical) If TRUE, checks if all Uniprot IDs are valid by connecting to the Uniprot database. Note: This may take several minutes depending on the number of IDs.

verbose

(logical) If TRUE (default), displays messages during the checking process.

Value

(int) The number of issues identified if return_n_issues is TRUE.

Examples

## Not run: 
check_metadata_analyte(df = metadata_analyte)

## End(Not run)

MoTrPAC/MotrpacBicQC documentation built on April 11, 2025, 7:51 p.m.