Skip to contents

Check for the presence of an assay in a SummarizedExperiment object.

Usage

validate_se_assay_name(se, name)

Arguments

se

A SummarizedExperiment object.

name

String of name of the assay to validate.

Value

NULL invisibly if the assay name is valid. Throws an error if the assay is not valid.

Examples

mae <- get_synthetic_data("finalMAE_small") 
se <- mae[[1]]
validate_se_assay_name(se, "RawTreated")