readInfo: ReadInfo constructor

Description Usage Arguments Value Author(s) Examples

Description

This function takes a file path as parameter, assuming the file is whitspace delimited, not quoted, and has a header line. It returns a ReadInfo object.

Usage

1
2
3
4
5
6
7
readInfo(filename, cnames)

## S4 method for signature 'character,missing'
readInfo(filename)

## S4 method for signature 'character,character'
readInfo(filename, cnames)

Arguments

filename

Path of the file to read

cnames

character. Expected column names (header).

Value

ReadInfo object

Author(s)

Kaiyin Zhong, Fan Liu

Examples

1
2
3
4
5
6
7
## Not run: 
ri = readInfo("mmp13.frq")
ri@cnames 
ri@filename
ri@header 

## End(Not run)

CollapsABEL documentation built on May 1, 2019, 7:28 p.m.