Learn R Programming

GWASinspector (version 1.4.3)

setup.inspector: Importing a QC-configuration file into R

Description

To run a QC in GWASinspector, first generate a config file using get.config, and edit it to suit your requirements. Next, use the function setup.inspector 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.

Examples

Run this code
# NOT RUN {
config.file <- get.config(tempdir())
job <- setup.inspector(config.file , validate = FALSE)
job

# }

Run the code above in your browser using DataLab