as.hsgeno {GenABEL} | R Documentation |
A function to convert an object to "hsgeno" data frame, to be used by "haplo.stats" library
as.hsgeno(x, ...)
x |
An object of snp.data-class or gwaa.data-class |
... |
... |
A data-frame containing alleles, consumable by "haplo.stats" library
Yurii Aulchenko
as.character.snp.data
,
as.double.snp.data
,
as.genotype.snp.data
data(srdta) as.hsgeno(srdta[1:5,1:3]) as.hsgeno(srdta@gtdata[1:5,1:3])