read_motifs: Import universalmotif formatted motifs.

Description Usage Arguments Value Author(s) See Also

View source: R/read_motifs.R

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

1
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()


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