write_transfac {universalmotif} | R Documentation

## Export motifs in TRANSFAC format.

### Description

Convert motifs to TRANSFAC format and write to file.

### Usage

    write_transfac(motifs, file, overwrite = FALSE, append = FALSE)

### Arguments

`motifs` | See `convert_motifs()` for acceptable formats.
`file` | `character(1)` File name.
`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

Wingender E, Dietze P, Karas H, Knuppel R (1996). “TRANSFAC: A Database on Transcription Factors and Their DNA Binding Sites.” Nucleic Acids Research, 24, 238-241.

### See Also

`read_transfac()`

Other write_motifs: `write_homer()`, `write_jaspar()`, `write_matrix()`, `write_meme()`, `write_motifs()`

### Examples

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

[Package universalmotif version 1.5.36 Index]