motifLatexTable: create of table of motifs

Description Usage Arguments Value See Also Examples

View source: R/motif.rg.R

Description

create a latex table to be embedded in a latex document

Usage

1
2
3
4
5
 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

1
2
3
4
5
6
  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")

motifRG documentation built on April 28, 2020, 8:46 p.m.