Description Usage Arguments Value
Set global variables for the MEC Visceral Fat paper
1 2 3 4 5 6 7 8 9 10 | study_visceral_fat(main_var = "OMRI_viscfat_5",
main_var_cols = c("dodgerblue", "red"),
main_cont = "OMRI_viscfat_avg_corr", dir_out = "Output/Visceral-Fat",
dir_dta = file.path(dir_out, "Data"), dir_dwn = file.path(dir_out,
"Downloads"), dir_fig = file.path(dir_out, "Figures"),
dir_tab = file.path(dir_out, "Tables"), study_filter = "VF",
study_title = "Visceral Fat", study_sent = "Visceral fat",
sg = "visceral fat", q_cut = c(phylum = 0.05, genera = 0.05),
cf = "_bookdown-visceral-fat.yml", run_code = FALSE,
download_files = TRUE)
|
main_var |
Main study categorical variable |
main_var_cols |
Colors for main study varible |
main_cont |
Main study continuous variable |
dir_out |
Output directory |
dir_dta |
Output directory for data objects |
dir_dwn |
Output directory for downloadable files |
dir_fig |
Output directory for figures |
dir_tab |
Output directory for tables |
study_filter |
Study indicator for filtering to appropriate samples |
study_title |
Formal study title |
study_sent |
Study title for sentence |
sg |
Lowercase study group name |
q_cut |
FDR cutoffs for phylum and genera |
cf |
bookdown config file |
run_code |
Run scripts during book build |
download_files |
Create downloadable file links |
Variables are saved to the global environment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.