Description Usage Arguments Value Examples
View source: R/homer_functions.R
This takes an annotated txt file from annotatePeaks.pl (after loading as a df) and performs minor cleaning functions on the annotated motif set. This currently works for 1 motif at a time.
1 2 | split_motifs(annotated_df, motif_col, zero_based = F, filter_for_motifs = F,
motif_label = NULL, return_bedfile_format = F)
|
annotated_df |
the annotated df. |
motif_col |
the name of the motif column as a string. |
zero_based |
Are the locations 0-based or 1 based? logical. |
filter_for_motifs |
Remove any peaks that do not contain a motif? Logical. |
motif_label |
Write a label to fill in for the motif. |
return_bedfile_format |
Return the motifs in a bed-style structure? Requires filter_for_motifs to be true. |
returns a df.
1 | # ADD_EXAMPLES_HERE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.