Gather the mmt object into one dataframe, suitable for e.g. ggplot or custom analysis (internal function)

mt_gather(mmt, metavars = NULL)

Arguments

mmt

(required) Data list as loaded with mt_load.

metavars

(optional) Columns from mtgene/mtmeta to keep. (default: NULL (all columns))

Value

A data.table in long format. The gene count/expression is stored in the Exprs column.