export: export

Description Usage Arguments Value Author(s) See Also Examples

Description

Writes all matrices in the supplied list, in the specified format, to the specified connection.

Usage

1
2
3
4
5
6
## S4 method for signature 'MotifList,connection,character'
export(object, con, format, ...)
## S4 method for signature 'MotifList,character,character'
export(object, con, format, ...)
## S4 method for signature 'MotifList,missing,character'
export(object, con, format, ...)

Arguments

object

a MotifList object.

con

either a file connection or a filename or missing, implying stdout.

format

a character string, currently only 'meme' and 'transfac', which both produce the same result

...

ignore this

Value

The matrices list is written to the specified connection in the specified format.

Author(s)

Paul Shannon

See Also

MotifDb, query, subset, flyFactorSurvey, hPDI, jaspar, ScerTF, uniprobe

Examples

1
2
3
4
5
  library (MotifDb)
    # identify all the SOX genes
  sox.indices = grep ('^sox', values (MotifDb)$geneSymbol, ignore.case=TRUE)
  matrices = MotifDb [sox.indices]
  export (matrices, con='SoxGenes-meme.txt', format='meme')

MotifDb documentation built on Nov. 17, 2017, 12:44 p.m.