View source: R/remove_duplicate_motifs.R
remove_duplicate_motifs | R Documentation |
This function identifies motif matrices which are duplicated in a universalmotif list or universalmotif_df and removes them. This operation ignores motif metadata and operates by removing all entries whose motif matrices are identical. The first instance of a duplicated motif in the input list is the one returned.
remove_duplicate_motifs(x)
x |
a universalmotif list or universalmotif_df |
A deduplicated list or universalmotif_df
motif <- universalmotif::create_motif()
duplicated <- c(motif, motif)
remove_duplicate_motifs(duplicated)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.