make_text_legos: INTERNAL - Assemble pieces of text for headings, captions and...

View source: R/make_text_legos.R

make_text_legosR Documentation

INTERNAL - Assemble pieces of text for headings, captions and trial design descriptions

Description

INTERNAL - Assemble pieces of text for headings, captions and trial design descriptions

Usage

make_text_legos(sim_data_file, existing_exp_details, prettify_compound_names)

Arguments

sim_data_file

name of the Excel file containing the simulator output, in quotes

existing_exp_details

the output from running either extractExpDetails or extractExpDetails_mult – either is fine as long as it contains details for sim_data_file.

prettify_compound_names

TRUE (default) or FALSE for whether to make compound names prettier in legend entries and in any Word output files. This was designed for simulations where the substrate and any metabolites, perpetrators, or perpetrator metabolites are among the standard options for the simulator, and leaving prettify_compound_names = TRUE will make the name of those compounds something more human readable. For example, "SV-Rifampicin-MD" will become "rifampicin", and "Sim-Midazolam" will become "midazolam".

Value

list of text strings

Examples

# none


shirewoman2/Consultancy documentation built on Feb. 18, 2025, 10 p.m.