Learn R Programming

GenABEL (version 1.8-0)

as.character.gwaa.data: 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

"as.character"(x, ...)

Arguments

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

Value

A matrix containing genotypes in character format

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

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

Run the code above in your browser using DataLab