write_motifs {universalmotif}R Documentation

Export motifs in universalmotif format.

Description

Write motifs as universalmotif objects to file. For optimal storage of universalmotif class motifs, consider using saveRDS() and readRDS(). The universalmotif format will not be documented, as realistically the need to generate these manually/elsewhere should be nonexistent.

Usage

write_motifs(motifs, file, minimal = FALSE, multifreq = TRUE)

Arguments

motifs

See convert_motifs() for acceptable formats.

file

character(1) File name.

minimal

logical(1) Only write essential motif information.

multifreq

logical(1) Write multifreq slot, if present.

Value

NULL, invisibly.

Author(s)

Benjamin Jean-Marie Tremblay, b2tremblay@uwaterloo.ca

See Also

Other write_motifs: write_homer, write_jaspar, write_matrix, write_meme, write_transfac


[Package universalmotif version 1.0.22 Index]