Skip to contents

Getter function to extract the outputs from the BulkCoExp() or BulkDge().

Usage

get_outputs(object, ...)

Arguments

object

The underlying object, either BulkCoExp() or BulkDge().

...

Additional arguments to parse to the functions.

Value

Returns the outputs stored in the class.

Examples

# everything the QC and normalisation steps stashed on the object
syn <- synthetic_bulk_cor_matrix()
meta <- data.table::data.table(
  sample_id = colnames(syn$counts),
  case_control = rep(c("case", "control"), each = 50)
)
object <- BulkDge(raw_counts = syn$counts, meta_data = meta)
object <- qc_bulk_dge(object, group_col = "case_control", .verbose = FALSE)
names(get_outputs(object))
#> [1] "dge_counts"          "lib_size"            "group"              
#> [4] "sample_info"         "group_col"           "raw_counts_filtered"