assert_is_valid_sumexp | R Documentation |
Assert that x is a valid SummarizedExperiment
assert_is_valid_sumexp(x, .xname = get_name_in_parent(x))
x |
SummarizedExperiment |
.xname |
see get_name_in_parent |
TRUE or FALSE
# VALID
file <- system.file('extdata/atkin.metabolon.xlsx', package = 'autonomics')
x <- read_metabolon(file)
assert_is_valid_sumexp(x)
# NOT VALID
rownames(SummarizedExperiment::colData(x)) <- NULL
# assert_is_valid_sumexp(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.