
Internal Helper Functions for Validation of AnyHermesData Objects
Source: R/HermesData-validate.R
validate.RdThese functions are used internally only and therefore not exported. They work on
SummarizedExperiment::SummarizedExperiment objects, and AnyHermesData objects are
defined by successfully passing these validation checks.
Usage
validate_counts(object)
validate_cols(required, actual)
validate_row_data(object)
validate_col_data(object)
validate_names(object)
validate_prefix(object)Functions
validate_counts(): validates that the first assay iscountscontaining non-missing, integer, non-negative values.validate_cols(): validates that required column names are contained in actual column names.validate_row_data(): validates that the object containsrowDatawith required columns.validate_col_data(): validates that the object containscolDatawith required columns.validate_names(): validates that the object contains row and column names.validate_prefix(): validates that the object prefix is a string and only contains alphabetic characters.