MotifEnrich: Computes motif enrichment with a hypergeometric distribution

View source: R/motif.R

MotifEnrichR Documentation

Computes motif enrichment with a hypergeometric distribution

Description

Computes motif enrichment with a hypergeometric distribution

Usage

MotifEnrich(
  meta.features,
  features,
  motif.all,
  n.background = 40000,
  verbose = TRUE
)

Arguments

meta.features

Dataframe with gc content and peak names

features

Vector peak names to test for enrichment. All peaks must be in meta.features

motif.all

Matrix of peaks by motifs

n.background

Number of background peaks to sample

verbose

Print progress

Value

Dataframe with motif enrichment results


yanwu2014/chromfunks documentation built on Aug. 20, 2023, 9:17 a.m.