ReadData: Read data

Description Usage Arguments Value Note Author(s) Examples

Description

Read two csv files and perform concordance check. First file contains data. Second file provides specs for data.

Usage

1

Arguments

input

A csv file with data.

input.specs

A csv file with specs for input. Default is NULL.

Value

A list with two data frames: data and data.specs.

Note

The ReadData() function reads in the data file and spec file from csv files. The function also perform concordance check between the data and its spec. Data column names and spec entry names should match. No duplicate names are allowed. If input.specs is NULL, it will be created based on the input data and then returned without checks.

Author(s)

Alexey Pronin pronin.alexey@gene.com, Ning Leng leng.ning@gene.com

Examples

1
2
3
4
5
## Not run: 
ReadData("input.csv", "input_specs.csv")
ReadData("input.csv")

## End(Not run)

lengning/gClinBiomarker documentation built on May 9, 2019, 2:55 p.m.