This is a helper that creates the project with empty samples and config slots

Project(
  file = NULL,
  amendments = NULL,
  sampleTableIndex = SAMPLE_NAME_ATTR,
  subSampleTableIndex = SUBSAMPLE_NAME_ATTR
)

Arguments

file

a string specifying a path to a project configuration YAML file

amendments

a string with the amendments names to be activated

sampleTableIndex

a string indicating the sample attribute that is used to index the sample table

subSampleTableIndex

a string indicating the sample attribute that is used to index the sample table

Examples

projectConfig = system.file("extdata", "example_peps-master", "example_amendments1", "project_config.yaml", package="pepr") p=Project(projectConfig)
#> Loading config file: /Users/runner/work/_temp/Library/pepr/extdata/example_peps-master/example_amendments1/project_config.yaml
#> amendments: newLib,newLib2