Attempts to convert gwaa.data to "hsgeno"

as.hsgeno.gwaa.data {GenABEL}R Documentation

Attempts to convert gwaa.data to "hsgeno"

Description

A function to convert @gtdata slot of an object of gwaa.data-class to "hsgeno" data frame

Usage

	as.hsgeno.gwaa.data(x, ...)

Arguments

x An object of gwaa.data-class
... ...

Value

A data-frame containing alleles, consumable by "haplo.stats" library

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

data(srdta)
as.hsgeno(srdta[1:5,1:10])

[Package GenABEL version 1.6-7 Index]