as.hsgeno: Attempts to convert object to "hsgeno"

Description Usage Arguments Value Author(s) See Also Examples

Description

A function to convert an object to "hsgeno" data frame, to be used by "haplo.stats" library

Usage

1

Arguments

x

An object of snp.data-class or gwaa.data-class

...

...

Value

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

Author(s)

Yurii Aulchenko

See Also

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

Examples

1
2
3
4
require(GenABEL.data)
data(srdta)
as.hsgeno(srdta[1:5,1:3])
as.hsgeno(srdta@gtdata[1:5,1:3])

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

Related to as.hsgeno in GenABEL...