ReadInfo constructor

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.