View source: R/check_functions.R
check_annotation_table | R Documentation |
This function checks if an annotation table meets the required format for metabolite annotation. It verifies the presence of necessary columns, data types, and ensures that no critical values are missing (NA).
check_annotation_table(annotation_table)
annotation_table |
A data frame containing the annotation data to be validated. |
The function returns a message indicating that the annotation_table
meets the required format, or it stops with an error message if any checks fail.
## Not run:
# Assuming `my_annotation_table` is the table to validate:
check_annotation_table(my_annotation_table)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.