motif_rc {universalmotif}R Documentation

Get the reverse complement of a motif.

Description

For any motif, change the motif slot to it's reverse complement. If the multifreq slot is filled, then it is also applied. No other slots are affected.

Usage

motif_rc(motifs)

Arguments

motifs

See convert_motifs() for acceptable formats

Value

See convert_motifs() for available output formats.

Author(s)

Benjamin Jean-Marie Tremblay, b2tremblay@uwaterloo.ca

Examples

jaspar <- read_jaspar(system.file("extdata", "jaspar.txt",
                                  package = "universalmotif"))
jaspar.rc <- motif_rc(jaspar)


[Package universalmotif version 1.0.22 Index]