switch_alph: Switch between DNA and RNA alphabets.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/switch_alph.R

Description

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

Usage

1
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, b2tremblay@uwaterloo.ca

See Also

create_motif()

Examples

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

universalmotif documentation built on April 8, 2021, 6 p.m.