pvalSets2N: Calculate the p-value of intersection for two sets

View source: R/pval_sets.R

pvalSets2NR Documentation

Calculate the p-value of intersection for two sets

Description

This function calculates the p-value of intersection for two sets.

Usage

pvalSets2N(a, b, n)

Arguments

a

A character vector.

b

A character vector.

n

Set from which a and b are selected.

Details

A thin wrapper around stats::phyper.

Value

A numeric value in [0, 1] representing the p-value of intersection for two sets.

Examples

pvalSets2N(LETTERS[seq(4, 10)], LETTERS[seq(7, 15)], LETTERS)


LISTO documentation built on April 25, 2026, 5:06 p.m.