This is a simple dataset with random data, used simply to illustrate the design of multimedia. There is no real association between any treatments, mediators, or outcomes. It always returns a single outcome (PHQ) SummarizedExperiment, and it randomly assigns samples to Treatment and Control (see the colData). It stores all the hypothetical mediator data in the assay slot.
Examples
demo_joy()
#> class: SummarizedExperiment
#> dim: 5 100
#> metadata(0):
#> assays(1): counts
#> rownames(5): ASV1 ASV2 ASV3 ASV4 ASV5
#> rowData names(0):
#> colnames: NULL
#> colData names(2): treatment PHQ
demo_joy(n_samples = 2, n_mediators = 20)
#> class: SummarizedExperiment
#> dim: 20 2
#> metadata(0):
#> assays(1): counts
#> rownames(20): ASV1 ASV2 ... ASV19 ASV20
#> rowData names(0):
#> colnames: NULL
#> colData names(2): treatment PHQ