read.fife: Read in a dataset and load the meta-data for a file

Description Usage Arguments Details Value Author(s) See Also

View source: R/meta.data.R

Description

Oftentimes the original data matrix is too large to practically read in everytime you want to do analysis. This often means creating a separate file for analysis. Unfortunately, if the original file is changed, the separate file doesn't reflect those changes. read.fife and write.fife both read and write meta-data, then display the original file name for the meta data.

Usage

1
read.fife(file, file.type = ".csv", ...)

Arguments

file

The location of the file to be read.

file.type

The extension of the dataset. Defaults to .csv.

...

other arguments passed to to read.csv

Details

Technically, read.fife and write.fife don't actually read and write meta-data. Instead, they create (or read) a separate file that has the same name (though different extension) than the subsetted dataset. The extension of the meta data file is .file.

Value

An R object containing the subsetted dataset. Also, an object called original.file will be loaded into the R environment that contains a string of the original file location

Author(s)

Dustin Fife

See Also

write.fife


fifer documentation built on May 30, 2017, 7:40 a.m.

Related to read.fife in fifer...