write_jaspar {universalmotif} | R Documentation

## Export motifs in JASPAR format.

### Description

Convert motifs to JASPAR format and write to file. See http://jaspar.genereg.net/.

### Usage

    write_jaspar(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, benjamin.tremblay@uwaterloo.ca

### References

Khan A, Fornes O, Stigliani A, Gheorghe M, Castro-Mondragon JA, van der Lee R, Bessy A, Cheneby J, Kulkarni SR, Tan G, Baranasic D, Arenillas DJ, Sandelin A, Vandepoele K, Lenhard B, Ballester B, Wasserman WW, Parcy F, Mathelier A (2018). “JASPAR 2018: update of the open-access database of transcription factor binding profiles and its web framework.” Nucleic Acids Research, 46, D260-D266.

### See Also

`read_jaspar()`

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

### Examples

    transfac <- read_transfac(system.file("extdata", "transfac.txt",
                                        package = "universalmotif"))
    write_jaspar(transfac, tempfile())

[Package universalmotif version 1.10.2 Index]