Attempts to convert object to "genotype"

as.genotype {GenABEL}R Documentation

Attempts to convert object to "genotype"

Description

A function to convert an object to "genotype" data frame

Usage

	as.genotype(x, ...)

Arguments

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

Value

A data-frame containing "genotype" data class, consumable by "genetics" library

Author(s)

Yurii Aulchenko

See Also

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

Examples

data(srdta)
as.genotype(srdta@gtdata[1:5,1:10])

[Package GenABEL version 1.6-7 Index]