strand2Num: Encode strand information as a number.

Description Usage Arguments Value Author(s) Examples

View source: R/strand2Num.R

Description

Transforms character description of the genomic strand into a number (+1 for forward strand, -1 for reverse strand).

Usage

1

Arguments

x

Either a number +1 or -1, or a character string +, - +1, -1.

Value

+1 for forward strand, -1 for reverse strand.

Author(s)

Johannes Rainer

Examples

1
2
3
strand2Num( "+" )
strand2Num( "-1" )
strand2Num( 1 )

jotsetung/GenomePlotR documentation built on May 19, 2019, 9:41 p.m.