Description Usage Arguments Value Examples
homer_known
is a function to parse the 'known' motifs
identified by HOMER.
homer_denovo
is a function to parse the 'denovo' motifs identified by
HOMER.
1 2 3 | homer_known(motif_dir = "motifs")
homer_denovo(motif_dir = "motifs")
|
motif_dir |
Directory in which the motif files created by HOMER are located |
An R object with the known motifs in an easily readable format.
An R object with the de novo motifs in an easily readable format.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
motifdir <- system.file("extdata", "motifs.tar.gz", package = "dealr")
extract <- sprintf("tar -xvzf %s", motifdir)
system(extract)
motifs <- list.files("motifs")
hk <- homer_known("motifs")
hd <- homer_denovo("motifs")
compress <- sprintf("tar -cvzf %s %s", motifs, motifdir)
system(compress)
unlink("motifs", recursive = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.