write_homer: Export motifs in HOMER format.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/write_homer.R

Description

Convert DNA motifs to HOMER format and write to file. See http://homer.ucsd.edu/homer/motif/.

Usage

1
2
write_homer(motifs, file, logodds_threshold = 0.6, overwrite = FALSE,
  append = FALSE)

Arguments

motifs

See convert_motifs() for acceptable formats.

file

character(1) File name.

logodds_threshold

numeric Stringency required for HOMER to match a motif. See scan_sequences().

overwrite

logical(1) Overwrite existing file.

append

logical(1) Add to an existing file.

Value

NULL, invisibly.

Author(s)

Benjamin Jean-Marie Tremblay, b2tremblay@uwaterloo.ca

References

\insertRef

homeruniversalmotif

See Also

read_homer()

Other write_motifs: write_jaspar(), write_matrix(), write_meme(), write_motifs(), write_transfac()

Examples

1
2
motif <- create_motif()
write_homer(motif, tempfile())

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