R: Attempts to convert internal strand-class to character

as.character.snp.strand {GenABEL} | R Documentation

## Attempts to convert internal strand-class to character

### Description

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

### Usage

    	## S3 method for class 'snp.strand'
    as.character(x, ...)

### Arguments

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

### Value

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

### Author(s)

Yurii Aulchenko

### See Also

`as.character.snp.coding`, `as.character.snp.data`, `as.double.snp.data`, `as.hsgeno`, `as.genotype.snp.data`

### Examples

    require(GenABEL.data)
    data(srdta)
    as.character(srdta@gtdata@strand[1:5])

[Package GenABEL version 1.8-0 Index]