Learn R Programming

GenABEL (version 1.8-0)

as.character.snp.coding: Attempts to convert internal snp.coding-class to character

Description

A function to convert an object of snp.coding-class to "character"

Usage

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

Arguments

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

Value

A vector containing actual (nucleotide) coding, for corresponding SNPs, in character format

See Also

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

Examples

Run this code
require(GenABEL.data)
data(srdta)
as.character(srdta@gtdata@coding[1:5])

Run the code above in your browser using DataLab