calculates the average gene expression for one or more (combined) annotation columns.
calculateMetaTable(
gobject,
expression_values = c("normalized", "scaled", "custom"),
metadata_cols = NULL,
selected_genes = NULL
)
data.table with average expression values for each gene per (combined) annotation
data(mini_giotto_single_cell)
#> Warning: data set ‘mini_giotto_single_cell’ not found
# show cell metadata
pDataDT(mini_giotto_single_cell)
#> Warning: restarting interrupted promise evaluation
#> Warning: restarting interrupted promise evaluation
#> Error: object 'mini_giotto_single_cell' not found
# show average gene expression per annotated cell type
calculateMetaTable(mini_giotto_single_cell,
metadata_cols = 'cell_types')
#> Warning: restarting interrupted promise evaluation
#> Warning: restarting interrupted promise evaluation
#> Error: object 'mini_giotto_single_cell' not found