trim_motifs {universalmotif} | R Documentation

## Trim motifs.

### Description

Remove edges of motifs with low information content. Currently does not trim `multifreq` representations.

### Usage

    trim_motifs(motifs, min.ic = 0.25)

### Arguments

`motifs` | See `convert_motifs()` for acceptable formats.
`min.ic` | `numeric(1)` Minimum allowed information content. See `convert_type()` for a discussion on information content.

### Value

Motifs See `convert_motifs()` for available output formats.

### Author(s)

Benjamin Jean-Marie Tremblay, b2tremblay@uwaterloo.ca

### See Also

`create_motif()`, `convert_type()`

### Examples

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

[Package universalmotif version 1.8.5 Index]