addStatistics: addStatistics

addStatisticsR Documentation

addStatistics

Description

Adds feature and cell statistics to the giotto object

Usage

addStatistics(
  gobject,
  feat_type = NULL,
  spat_unit = NULL,
  expression_values = c("normalized", "scaled", "custom"),
  detection_threshold = 0,
  return_gobject = TRUE
)

Arguments

gobject

giotto object

feat_type

feature type

spat_unit

spatial unit

expression_values

expression values to use

detection_threshold

detection threshold to consider a feature detected

return_gobject

boolean: return giotto object (default = TRUE)

Details

See addFeatStatistics and addCellStatistics

Value

giotto object if return_gobject = TRUE, else a list with results


drieslab/Giotto_site_suite documentation built on April 26, 2023, 11:51 p.m.