create_doc_template: Initialize documentation template for the R Markdown results...

View source: R/docs.R

create_doc_templateR Documentation

Initialize documentation template for the R Markdown results report.

Description

[Deprecated]

create_doc_template() was renamed to init_docs() to create a more consistent API.

Usage

create_doc_template(experiment, save_dir)

Arguments

experiment

An Experiment object. If provided, documentation is created for all previously saved Experiments that are found in the directory given by experiment$get_save_dir(). If no Experiments have been previously saved under this directory, then the current experiment is saved to disk and used to create the documentation template.

save_dir

An optional directory in which to find previously saved Experiment objects. Documentation is created for these found Experiments. Not used if experiment is provided.

Examples

## Not run: 
# create documentation template from an experiment (of class `Experiment`)
create_doc_template(experiment)

# or alternatively, create documentation template from a specific directory
create_doc_template(save_dir = experiment$get_save_dir())
## End(Not run)


Yu-Group/simChef documentation built on March 25, 2024, 3:22 a.m.