as.double.gwaa.data: Attempts to convert gwaa.data to double

Description Usage Arguments Value Author(s) See Also Examples

Description

A function to convert an object of gwaa.data-class to "double"

Usage

1
2
	## S3 method for class 'gwaa.data'
as.double(x, ...)

Arguments

x

An object of gwaa.data-class

...

...

Value

A matrix containing genotypes in double (numeric) format

Author(s)

Yurii Aulchenko

See Also

as.character.gwaa.data, as.character.snp.data, as.double.gwaa.data, as.double.snp.data, as.hsgeno, as.genotype.gwaa.data, as.genotype.snp.data

Examples

1
2
3
require(GenABEL.data)
data(srdta)
as.double(srdta[1:5,1:10])

GenABEL documentation built on May 30, 2017, 3:36 a.m.