Results from the assay, bioprocess and omics functions are tibble
subclasses. A <bio_assay> carries its fitted standard curves or
kinetic models, and a <bio_omics> carries the settings and prior
estimates of a differential expression or enrichment analysis. The
metadata is used by tidy(), glance(),
augment() and autoplot(), and is
kept through dplyr verbs while the required columns are present.
Value
The constructors return a <bio_assay> or <bio_omics> tibble.
The predicates return a single logical.
Examples
fit <- bio_dose_response(dose_response_sim, dose, response, .by = compound)
is_bio_assay(fit)
#> [1] TRUE
fit |> dplyr::arrange(ec50) |> is_bio_assay()
#> [1] TRUE
x <- new_bio_assay(tibble::tibble(id = 1:2), "custom", required = "id")
x
#> # A bio_assay: custom: 2 x 1
#> id
#> <int>
#> 1 1
#> 2 2