setup_inspector: Importing a configuration file into R for setting the...

View source: R/setup_inspector.R

setup_inspectorR Documentation

Importing a configuration file into R for setting the pipeline parameters

Description

To run a QC in GWASinspector, copy a template configuration file to your machine using the get_config command at first, and edit it to suit your requirements. Next, use the setup_inspector function to check the configuration file and import it into R. This will create an object of the inspector class, which can then be processed using run_inspector.

Usage

setup_inspector(config.file, validate = TRUE)

Arguments

config.file

character. Path to a configuration (.ini) file. For a sample configuration file, see get_config.

validate

logical. Whether to validate the object.

Value

returns a new instance of Inspector class.


GWASinspector documentation built on Sept. 28, 2023, 1:06 a.m.