adds genes and cells statistics to the giotto object
addStatistics(
gobject,
expression_values = c("normalized", "scaled", "custom"),
detection_threshold = 0,
return_gobject = TRUE
)
giotto object if return_gobject = TRUE, else a list with results
See addGeneStatistics
and addCellStatistics
data(mini_giotto_single_cell)
#> Warning: data set ‘mini_giotto_single_cell’ not found
updated_giotto_object = addStatistics(mini_giotto_single_cell)
#> Warning: restarting interrupted promise evaluation
#> Warning: restarting interrupted promise evaluation
#> Error: object 'mini_giotto_single_cell' not found