mt_stackbar.Rd
mt_stackbar
mt_stackbar(mmt,Raw,after_QC)
mmt | (required) An object of class |
---|---|
group_by | (optional) A column name in the metadata to group samples by. (Default: |
round_to | (optional) Round the counts to thousands ("K") or milions ("M"). (Default: |
size_axis | (optional) Specify size of primary and secondary axis. (Default: |
size_text | (optional) Specify size of text in plot. (Default: |
detailed | (optional) Output a table with the data used for the plot. |
A ggplot
The mt_stackbar
function only works on data generated
from the MetaT pipeline and loaded
using the mt_loadMetaT
function. It is meant for data quality assesment
by giving a quick overview of the proportions of data removed for each pre-processing
step, if this is available in the metadata.
# NOT RUN { data("example_mmt") mt_stackbar(example_mmt,Raw = "Raw",after_QC = "after_QC",after_filter = "after_filter") # }