R: Attempts to convert snp.data to "hsgeno"

as.hsgeno.snp.data {GenABEL} | R Documentation

## Attempts to convert snp.data to "hsgeno"

### Description

A function to convert an object of `snp.data-class` to "hsgeno" data frame

### Usage

    	## S3 method for class 'snp.data'
    as.hsgeno(x, ...)

### Arguments

`x` | An object of `snp.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

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

[Package GenABEL version 1.8-0 Index]