Learn R Programming

GenABEL (version 1.8-0)

as.data.frame.gwaa.data: Attempts to convert snp.data to "hsgeno"

Description

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

Usage

"as.data.frame"(x, ...)

Arguments

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

Value

A data-frame containing phenotypic data

Details

Use is mainly internal

See Also

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

Examples

Run this code
require(GenABEL.data)
data(srdta)
as.data.frame(srdta[1:5,])

Run the code above in your browser using DataLab