Learn R Programming

GenABEL (version 1.8-0)

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

Description

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

Usage

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

Arguments

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

Value

A vector containing strand ("+", "-" or "u"), for corresponding SNPs, in character format

See Also

as.character.snp.coding, 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@strand[1:5])

Run the code above in your browser using DataLab