reverseComplement,PWM-method {PWMEnrich} | R Documentation

## Reverse complement for the PWM object

### Description

Finds the reverse complement of the PWM

### Usage

    ## S4 method for signature 'PWM'
    reverseComplement(x, ...)

### Arguments

`x` | an object of type PWM
`...` | unused

### Value

an object of type PWM that is reverse complement of x

### Examples

    if(requireNamespace("PWMEnrich.Dmelanogaster.background")){
       data(MotifDb.Dmel.PFM, package = "PWMEnrich.Dmelanogaster.background")

       reverseComplement(MotifDb.Dmel.PFM[["ttk"]]) # reverse complement of the ttk PWM
    }

[Package PWMEnrich version 4.30.0 Index]