adds genes and cells statistics to the giotto object
addStatistics( gobject, expression_values = c("normalized", "scaled", "custom"), detection_threshold = 0, return_gobject = TRUE )
gobject | giotto object |
---|---|
expression_values | expression values to use |
detection_threshold | detection threshold to consider a gene detected |
return_gobject | boolean: return giotto object (default = TRUE) |
giotto object if return_gobject = TRUE, else a list with results
See addGeneStatistics
and addCellStatistics
#> #> gene statistics has already been applied once, will be overwritten #> #> cells statistics has already been applied once, will be overwritten