read_denovo_html_results() to extract information from matched known motifs related to the de novo found motifs (“similar motifs found” under “best match/details”) - see denovo motif html output for exampleutils.R
marge checks for HOMER installation -
options('homer_path') to hold the installation base path$PATH) first, susses out HOMER base.Rprofile
onAttach.R to check for proper HOMER install on load with link to online docsfind_motifs_genome when using a custom background - added an fdr_num argument to add number of iterations for FDR calculation (background file was being fed to -fdr as the <num> argument); set to 0 by default since runtime takes forever when set when doing denovo enrichmentfdr field for denovo results, as the fdr arg for find_motifs_genome has now been enabled by default alwaysfind_motifs_genome - motif_length arg was only using the first numberfind_motifs_instances function to get where specific motifs (based on PWM) occur in peakswrite_pwm function to support find_motifs_instances
HOMER_motifs which includes all motifs used by HOMER - includes their PWMs, organism/motif set definition info[read|write]_bed that were initially included for testingmarge which includes the most basic utilities needed for analysis (see below)find_motifs_genome - runs motif analysis using HOMER; creates a HOMER results directoryread_denovo_results - reads the homerMotifs.all.motifs file created in the HOMER results directoryread_known_results - reads the knownResults.txt file created in the HOMER results directory