has_duplicate_motifs {memes} | R Documentation

## Check for duplicated motif matrices

### Description

This function identifies whether any motif matrices in the input universalmotif list or universalmotif_df are identical to each other. Note: this operation is slow on large motif lists

### Usage

    has_duplicate_motifs(x)

### Arguments

`x` | a universalmotif list or universalmotif_df

### Value

logical value indicating presence or absence of duplicated motif matrices

### Examples

    motif <- universalmotif::create_motif()
    duplicated <- c(motif, motif)
    has_duplicate_motifs(duplicated)

[Package memes version 1.0.4 Index]