AnyHermesData
ObjectsR/HermesData-validate.R
validate.Rd
These 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.
validate_counts(object)
validate_cols(required, actual)
validate_row_data(object)
validate_col_data(object)
validate_names(object)
validate_prefix(object)
(SummarizedExperiment
)
object to validate.
(character
)
required column names.
(actual
)
actual column names.
A character vector with the validation failure messages, or NULL
in
case validation passes.
validate_counts
: validates that the first assay is counts
containing
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 contains rowData
with
required columns.
validate_col_data
: validates that the object contains colData
with
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.