get_unique_motif_score: Compute the enrichment score for a motif in the foreground...

Description Usage Arguments Value

View source: R/MotifAll.R

Description

Compute the enrichment score for a motif in the foreground set as compared to the background set

Usage

1
get_unique_motif_score(df, idx_select, motif, match_central_letter = TRUE)

Arguments

df

a data frame corresponding to set of background sequences as obtained by calling sequence_to_df. Could also be a vector of background sequences (with a fixed length) but will be slower.

idx_select

Indexes of foreground sequences in x. Note that the foreground set must be a subset of the background set.

motif

a motif

match_central_letter

keep only sequences that have the same central letter as the motif

Value

A data frame summarizing motif enrichment analysis in foreground set


VoisinneG/MotifAll documentation built on July 23, 2018, 4:13 a.m.