read_denovo_html_results: Read de novo enriched motifs from HOMER .info.html output...

Description Usage Arguments Details Value

View source: R/read_denovo_html_results.R

Description

Reads in results from all individual info.html files produced by HOMER de novo motif enrichment analysis.

Usage

1
read_denovo_html_results(path, homer_dir = TRUE)

Arguments

path

path to the HOMER directory where all outputs are stored

homer_dir

does the path point to a HOMER directory; if FALSE, path must point to the file directly [default: TRUE]

Details

Following an analysis using find_motifs_genome, a HOMER directory is created which analyses the enrichment of known motifs. This function reads and parses in the .html file into a tidy format.

It might be more useful to read in the .html files instead of the .motifs file because the .html contain information on known similar motifs.

Value

a list with the following structure:

The Motif_information dataframe has the following columns:

#' The Matches_to_known_motifs dataframe has the following columns:

#' @importFrom stringr str_replace str_split str_detect


robertamezquita/marge documentation built on Sept. 30, 2020, 6:15 a.m.