g5h.clean2: Clean Gen5 exported data

Description Usage Arguments Value Examples

View source: R/clean.R

Description

g5h.clean2() returns technically correct data.frame from Gen5 2.06 exported tab-delim data. The exported data can be generated using default export protocol in Gen5 2.06. See Gen5 User Guide for more information.

Usage

1

Arguments

files

a vector of names of the file which the data are to be read from. If it does not contain an absolute path, the file name is relative to the current working directory, getwd().

Value

technically correct data.frame.

Examples

1
2
3
4
5
6
7
# suppose "exported_data_1.txt" and "exported_data_2.txt" are the exports from Gen5 2.06

# this line will clean one exported data
data <- g5h.clean2("exported_data_1.txt")

# this line will clean two exported data and return one appended dataset
data <- g5h.clean2(c("exported_data_1.txt", "exported_data_2.txt"))

yanxianUCSB/gen5helper documentation built on June 22, 2020, 3:35 a.m.