MotifDiscovery.Rd
de novo Motif Discovery with STREME.
MotifDiscovery( peak.df = NULL, diff.peak = NULL, inte.res = NULL, peak.motif.key = NULL, genome, signif = "padj", signif.threshold = 0.05, l2fc.threshold = 0, peak.mode = c("consensus", "diff"), samtools.path = NULL, streme.path = NULL, streme.paras = "--nmotifs 50 --minw 8 --maxw 15 --thresh 0.05 --align center", out.folder = NULL, show.html = TRUE )
peak.df | Dataframe contains peaks, should contains chr, start, stop columns. Default: NULL. |
---|---|
diff.peak | Dataframe contains differential peaks, the rownames should be peak annotations results. Default: NULL. |
inte.res | The Dataframe contains integrated results. |
peak.motif.key | The key type of integrated results ("Type" column of |
genome | The genome fasta path. |
signif | Significance criterion to get differential peaks. Used when |
signif.threshold | Significance threshold to get differential peaks. Used when |
l2fc.threshold | Log2 fold change threshold to get differential peaks. Used when |
peak.mode | The source of |
samtools.path | The path to samtools (the version should >=1.9). Default: NULL (conduct automatic detection). |
streme.path | The path to MEME's streme. Default: NULL (conduct automatic detection). |
streme.paras | Parameter for MEME's streme. Default: "--nmotifs 50 --minw 8 --maxw 15 --thresh 0.05 --align center". |
out.folder | Output folder. Default: NULL (current working directory). |
show.html | Logical value, whether to show the results with pop-up window. Default: TRUE. |
NULL.
# library(DEbPeak) # # de novo motif discovery with peak sets # peak.file = system.file("extdata", "debchip_peaks.bed", package = "DEbPeak") # peak.df = GetConsensusPeak(peak.file = peak.file) # MotifDiscovery(peak.df = peak.df, genome = '/path/to/genome.fa', # streme.path = "/path/to/streme", samtools.path = "/path/to/samtools", out.folder = "/path/to/output") # # de novo motif discovery with differential peaks # MotifDiscovery(diff.peak = dds.peak.results.ordered, peak.motif.key = "Up_regulated", # genome = '/path/to/genome.fa', streme.path = "/path/to/streme", # samtools.path = "/path/to/samtools", out.folder = "/path/to/output") # # de novo motif discovery with integrated results # MotifDiscovery(inte.res = debatac.res, peak.motif.key = "Up_Up", # genome = '/path/to/genome.fa', peak.mode = "diff", streme.path = "/path/to/streme", # samtools.path = "/path/to/samtools", out.folder = "/path/to/output")