motifcounterOptions: Set parameters for the enrichment analysis

Description Usage Arguments Details Value Examples

View source: R/option.R

Description

This function sets some global parameters for the 'motifcounter' package.

Usage

1
motifcounterOptions(alpha = 0.001, gran = 0.1, ncores = 1)

Arguments

alpha

Numeric False positive probabililty for calling motif hits by chance. Default: alpha = 0.001

gran

Numeric score granularity which is used for discretizing the score range. Default: gran = 0.1

ncores

Interger number of cores used for parallel processing, if openMP is available. Default: ncores = 1

Details

alpha=0.001 amounts to calling one motif hit per strand by chance in a sequence of length 1000 bp. Decreasing gran will increase number of discrete bins that represent the real-valued score range. This will yield more a accurate score distribution due to less discretization noise, however, it incurs an increase of the computational burden.

Value

None

Examples

1
2
# Prescribe motifcounter Options
motifcounterOptions(alpha = 0.001, gran = 0.1, ncores = 1)

motifcounter documentation built on Nov. 8, 2020, 5:44 p.m.