as.character.gwaa.data {GenABEL}R Documentation

Attempts to convert genotypic part of gwaa.data to character

Description

A function to convert @gtdata slot of an object of gwaa.data-class to "character"

Usage

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

Arguments

x

An object of gwaa.data-class

...

...

Value

A matrix containing genotypes in character format

Author(s)

Yurii Aulchenko

See Also

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

Examples

require(GenABEL.data)
data(srdta)
as.character(srdta[1:5,1:10])

[Package GenABEL version 1.8-0 Index]