Companion function to find_motifs_instances() to read in and tidy the results.

read_motifs_instances(path)

Arguments

path

File path pointing to results from find_motifs_instances().

Value

A tibble with the following columns:

  • region_id The identifier given to the regions provided for searching for a given motif. This region id is typically the fourth column (following the positional coordinates) in a bed file.

  • offset The location of the motif with respect to the center of the region.

  • sequence The genomic sequence at the specified location within the region.

  • motif_name The readable name of the sequence.

  • strand The strand on which the motif was found.

  • motif_score The similarity score between the motif and sequence. A log odds score of the motif matrix, where higher scores are better matches.