Skip to contents

These functions assume you are in a project root directory and create an R Markdown file containing a pre-filled bone microCT analysis comparing two genotypes or two treatments. They also create a data.xlsx template file into which to paste the microCT data. The data.xlsx file additionally has a Key sheet to specify the appropriate sample information.

Usage

create_genotype_comparison(
  file_name = paste0(format(Sys.Date(), "%F"), "-microCT-Analysis.Rmd")
)

create_treatment_comparison(
  file_name = paste0(format(Sys.Date(), "%F"), "-microCT-Analysis.Rmd")
)

Arguments

file_name

A string to name the project analysis R Markdown document. Defaults to a file in the style of "YYYY-MM-DD-microCT-Analysis.Rmd", where YYYY-MM-DD represents today's date.

Value

Returns TRUE if successful.

Examples

if (FALSE) {
create_genotype_comparison()
create_treatment_comparison()
}