Subset experiments with preserved class
sub-.experiments.RdThe normal list subset operation would drop the class from the experiment object (which is fine in theory). With this override, the class is preserved.
Examples
m <- model_from_tsv(uqsa_example("AKAR4"))
x <- experiments(m)
class(x)
#> [1] "experiments"
class(x[seq(2)])
#> [1] "experiments"