calculateMetaTable | R Documentation |
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
)
gobject |
giotto object |
expression_values |
expression values to use |
metadata_cols |
annotation columns found in pDataDT(gobject) |
selected_genes |
subset of genes to use |
data.table with average expression values for each gene per (combined) annotation
data(mini_giotto_single_cell)
# show cell metadata
pDataDT(mini_giotto_single_cell)
# show average gene expression per annotated cell type
calculateMetaTable(mini_giotto_single_cell,
metadata_cols = 'cell_types')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.