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

as.data.frame.gwaa.data {GenABEL} | R Documentation

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

### Description

A function taking @phdata part (data.frame) of the object of `gwaa.data-class`

### Usage

    	## S3 method for class 'gwaa.data'
    as.data.frame(x, ...)

### Arguments

`x` | An object of `data.frame-class`
`...` | ...

### Details

Use is mainly internal

### Value

A data-frame containing phenotypic data

### 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.data.frame(srdta[1:5,])

[Package GenABEL version 1.8-0 Index]