| cal_expr_residual | R Documentation | 
Calculate feature expression residual (observed_exp - DWLS_predicted)
cal_expr_residual(
  gobject,
  spat_unit = NULL,
  feat_type = NULL,
  expression_values = c("normalized", "scaled", "custom"),
  ave_celltype_exp
)
| gobject | giotto object | 
| spat_unit | spatial unit (e.g. 'cell') | 
| feat_type | feature type (e.g. 'rna') | 
| expression_values | expression values to use (e.g. 'normalized', 'scaled', 'custom') | 
| ave_celltype_exp | average expression matrix in cell types | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.