Skip to contents

Get error text

Usage

seeErrors(obj)

# S4 method for class 'dreamletResult'
seeErrors(obj)

# S4 method for class 'dreamletProcessedData'
seeErrors(obj)

# S4 method for class 'vpDF'
seeErrors(obj)

Arguments

obj

A dreamletResult object

Value

tibble storing error text

Examples

library(muscat)
library(SingleCellExperiment)

data(example_sce)

# create pseudobulk for each sample and cell cluster
pb <- aggregateToPseudoBulk(example_sce,
  assay = "counts",
  cluster_id = "cluster_id",
  sample_id = "sample_id",
  verbose = FALSE
)

# voom-style normalization
res.proc <- processAssays(pb, ~group_id)
#>   B cells...
#> 0.19 secs
#>   CD14+ Monocytes...
#> 0.3 secs
#>   CD4 T cells...
#> 0.23 secs
#>   CD8 T cells...
#> 0.13 secs
#>   FCGR3A+ Monocytes...
#> 0.27 secs

# Differential expression analysis within each assay,
# evaluated on the voom normalized data
res.dl <- dreamlet(res.proc, ~group_id)
#>   B cells...
#> 0.2 secs
#>   CD14+ Monocytes...
#> 0.25 secs
#>   CD4 T cells...
#> 0.21 secs
#>   CD8 T cells...
#> 0.13 secs
#>   FCGR3A+ Monocytes...
#> 0.25 secs

# show errors
# but none are reported
res.err = seeErrors(res.dl)
#>    Assay-level errors: 0
#>    Gene-level errors: 0