switch_alph: Switch between DNA and RNA alphabets.

View source: R/switch_alph.R

switch_alphR Documentation

Switch between DNA and RNA alphabets.

Description

Convert a motif from DNA to RNA, or RNA to DNA.

Usage

switch_alph(motifs)

Arguments

motifs

See convert_motifs() for acceptable formats.

Value

The DNA/RNA version of the motifs. See convert_motifs() for acceptable output formats.

Author(s)

Benjamin Jean-Marie Tremblay, benjamin.tremblay@uwaterloo.ca

See Also

create_motif()

Examples

DNA.motif <- create_motif()
RNA.motif <- switch_alph(DNA.motif)


bjmt/universalmotif documentation built on Nov. 16, 2024, 7:38 a.m.