Learn R Programming

GenABEL (version 1.8-0)

refresh.gwaa.data: Updates an object from old to new GenABEL format

Description

Attempts to update an object of gwaa.data-class from old to new format

Usage

refresh.gwaa.data(data,force=FALSE)

Arguments

data
An object of gwaa.data-class in pre-1.2-6 (data version 0) format.
force
When TRUE, the refreshing is forced, with any data in @strand and @coding replaced by default data (0/1 coding, u-strand)

Value

Object of gwaa.data-class in new (GenABEL v > 1.2-6, raw data format version 0.1) format.

Details

Takes old-style gwaa.data object and sets @coding and @strand attributes to SNPs. All coding is set to 1/2 and strand is set to "u" (unknown).

See Also

load.gwaa.data