read_motifs {universalmotif} | R Documentation

## Import universalmotif formatted motifs.

### Description

Import motifs created from `write_motifs()`. For optimal storage of `universalmotif` class motifs, consider using `saveRDS()` and `readRDS()`. Currently the `universalmotif` format is YAML-based, but this is subject to change.

### Usage

    read_motifs(file, skip = 0, progress = FALSE, BP = FALSE)

### Arguments

`file` | `character(1)` File name.
`skip` | `numeric(1)` If not zero, will skip however many desired lines in the file before starting to read.
`progress` | `logical(1)` Show progress.
`BP` | `logical(1)` Allows for the use of BiocParallel within `read_motifs()`. See `BiocParallel::register()` to change the default backend.

### Value

`list` universalmotif objects.

### Author(s)

Benjamin Jean-Marie Tremblay, b2tremblay@uwaterloo.ca

### See Also

Other read_motifs: `read_cisbp()`, `read_homer()`, `read_jaspar()`, `read_matrix()`, `read_meme()`, `read_transfac()`, `read_uniprobe()`

[Package universalmotif version 1.8.5 Index]