calculate_pvalue: Calculate the p-value associated with a given overlap...

Description Usage Arguments Value

Description

Calculate the p-value associated with a given overlap percentage.

Usage

1
calculate_pvalue(obs, overlaps, sample_size, sample_count)

Arguments

obs

The observed percentage of overlap.

overlaps

The pre-calculated overlaps between baseline and current subject. Must be a logical vector of the same length as baseline.

sample_size

The number of value to pick for each draw.

sample_count

The number of draw to calculate p-value.

Value

The p-value for current subject.


CharlesJB/chipcompare documentation built on May 6, 2019, 9:58 a.m.