DnaToRna {GeneR}R Documentation

DNA <-> RNA sequence rewriting

Description

Transformation from T to U in a sequence (dnaToRna), and vice versa (rnaToDna).

Usage

dnaToRna(seqno=0, from=1, to=0)
rnaToDna(seqno=0, from=1, to=0)

Arguments

seqno

Integer/scalar, Sequence number (buffer number)

from, to

Integer/scalar, Absolute addresses of the beginning and the end of the fragment, (1 means the first nucleotide and 0 conventionally the last one; from must not be larger than to and both vectors must be the same size)

Value

seqno or -1 if error

Author(s)

L.Cottret

Examples


s<-"atuuutututu"  
placeString(s)  
dnaToRna()        
getSeq()         
#[1] "auuuuuuuuuu"      
rnaToDna()  
getSeq()         
#[1] "atttttttttt"        


[Package GeneR version 2.24.0 Index]