Write organized data to an Excel file
create_organized_excel.Rd
This function takes microCT data which has been read in and had measures
calculated (as by the read_excel*()
functions), sorts it, and writes it to
an Excel file. Trabecular, cortical, and FEA data are reqired, and each is
written to its own sheet in the final Excel file.
Arguments
- trab
Trabecular microCT data, as formatted by the
read_trabecular_excel()
function.- cort
Cortical microCT data, as formatted by the
read_cortical_excel()
function.- mfe
FEA microCT data, as formatted by the
read_mfe_excel()
function.- file
The name of the Excel file to write to. Defaults to
Organized Data.xlsx
.
Examples
if (FALSE) {
gen_key <- read_key_csv(mctr_ex("example-gen-key.csv"))
gen_trab <- read_trabecular_csv(mctr_ex("example-trabecular.csv"), gen_key)
gen_cort <- read_cortical_csv(mctr_ex("example-twice1.csv"),
mctr_ex("example-twice2.csv"), gen_key)
gen_mfe <- read_mfe_csv(mctr_ex("example-mfe.csv"), gen_key)
create_organized_excel(gen_trab, gen_cort, gen_mfe)
}