run_scan {scanstatistics} | R Documentation |
Run a scan statistic analysis.
Description
Run a scan statistic analysis with the given scan statistic and arguments.
Usage
run_scan(scanstat, args, gumbel = FALSE)
Arguments
scanstat |
A scan statistic function. |
args |
A named list of arguments to be passed to |
gumbel |
Logical: should a Gumbel P-value be calculated? Default is
|
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.
[Package scanstatistics version 1.1.1 Index]