as.character.snp.data: Attempts to convert snp.data to character

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ases.R

Description

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

Usage

1
2
	## S3 method for class 'snp.data'
as.character(x, ...)

Arguments

x

An object of snp.data-class

...

...

Value

A matrix containing genotypes in character format

Author(s)

Yurii Aulchenko

See Also

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

Examples

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

GenABEL documentation built on May 30, 2017, 3:36 a.m.