load_config: Load configuration file

View source: R/io.R

load_configR Documentation

Load configuration file

Description

Load a CSV or YAML-formatted text file of configuration options for microsatellite analysis. The main function loads configuration options with this and sets them package-wide with apply_config.

Usage

load_config(fp)

Arguments

fp

path to configuration file.

Details

Whatever entries are present in the file will be returned, but names that don't match known names (see CFG_DEFAULTS) will be reported in a warning.

Value

data frame of configuration options

Examples

filename <- system.file("example_config.csv", package = "chiimp")
config <- load_config(filename)
# And then: full_analysis(config)

ShawHahnLab/microsat documentation built on Aug. 25, 2023, 11:16 p.m.