distBoot: Bootstrap distance distribution

View source: R/gelPaths.R

distBootR Documentation

Bootstrap distance distribution

Description

Create a distribution of minimal distances between features by shuffling each row of the original data independently. Used for computed p-values of minimal paths with pBoot.

Usage

distBoot(x, partial = FALSE, squared = TRUE, output = "orig")

Arguments

x

Original dataset of features to be shuffled

partial

Whether to compute partial correlations

squared

Whether to square correlations

output

Output of the internal gelMatrix call. Either "orig" or "unif" for forcing a uniform distribution of p-values.

Value

A n_features x n_features matrix of the minimal distance between each pair of features in the bootstrap distribution.

Author(s)

Anooj Arkatkar

See Also

minPath, pBoot

Examples

# Load data
data(foldChange)

# Plot the bootstrap distribution of minimal paths
bdist <- distBoot(foldChange)
hist(bdist)

aarkatkar/gelClust documentation built on May 6, 2022, 12:24 a.m.