run_scan: Run a scan statistic analysis.

Description Usage Arguments Value

Description

Run a scan statistic analysis with the given scan statistic and arguments.

Usage

1
run_scan(scanstat, args, gumbel = FALSE)

Arguments

scanstat

A scan statistic function.

args

A named list of arguments to be passed to scanstat.

gumbel

Logical: should a Gumbel P-value be calculated? Default is FALSE.

Value

A list with components

observed

The table of observed statistics.

simulated

The table of simulated statistics.

MC_pvalue

The Monte Carlo P-value of the scan statistic.

Gumbel_pvalue

The Gumbel P-value of the scan statistic.


BenjaK/scanstatistics documentation built on May 5, 2019, 2:41 p.m.