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
expression values to use
detection threshold to consider a gene detected
boolean: return giotto object (default = TRUE)
giotto object if return_gobject = TRUE, else a list with results
See addGeneStatistics
and addCellStatistics
data(mini_giotto_single_cell)
updated_giotto_object = addStatistics(mini_giotto_single_cell)