Returns the experimental group of each sample of a ScreenR
object, as given to create_screenr_object. The groups
define the columns of the design matrix
(create_design_matrix).
Arguments
- object
The ScreenR object obtained using
create_screenr_object.
Examples
object <- get0("object", envir = asNamespace("ScreenR"))
groups <- get_groups(object)
groups
#> [1] T1/T2 T1/T2 Treated Treated Treated Control Control Control Treated
#> [10] Treated Treated Control Control Control
#> Levels: Control T1/T2 Treated
