motifLatexTable {motifRG} | R Documentation

## create of table of motifs

### Description

create a latex table to be embedded in a latex document

### Usage

     motifLatexTable(motifs,  main="", prefix="motif", dir=".", height=1,
     width=3,enriched.only=F, plot.pwm= TRUE,
    summary.cols=c(1,7,8,9),use.mask=TRUE)
     motifHtmlTable(motifs, dir="html", prefix="motif", enriched.only=F,
    plot.pwm= TRUE, summary.cols=c(1,7,8,9),use.mask=TRUE)

### Arguments

`motifs` | result of findMotif
`main` | The title of table
`prefix` | The prefix for the filenames of motif logos
`dir` | The directory for storing motif logo files
`height, width` | size of the sequence logo
`enriched.only` | If true, list only enriched motifs
`plot.pwm` | If true, plot PWM logo instead of di-nucleotide logo
`summary.cols` | The selected columns of summary table created by summaryMotif included in the table
`use.mask` | If true, use masked motif match summary statistics

### Value

motifLatexTable outputs a latex table to the stdout console. motifHtmlTable outputs a html file named as <preix>.html in "dir" directory.

### See Also

`findMotif`

### Examples

      data(ctcf.motifs)
      ### Create table of motifs in Latex
      motifLatexTable(ctcf.motifs, main="CTCF motifs", dir="motif")

      ### Create table of motifs in Html
      motifHtmlTable(ctcf.motifs, dir="Html")

[Package motifRG version 1.30.0 Index]