permutation.t {SAGx}R Documentation

bootstrap p-value for matrix with variables in rows and with arbitrary missing structure.

Description

Calculates bootstrap p-values corresponding to a Welch's t-test.

Usage

permutation.t(data = data, grp = grp, B = 1000, na.rate = 0.2)

Arguments

data data matrix with variables in columns
grp vector that holds the class labels
B number of bootstrap iterations
na.rate threshold for the proportion missing tolerated in any group

Examples

## Not run: 
p.vals <- permutation.t(data = clinical.data,grp = grp, B = 10000, na.rate = 0.1) 
## End(Not run)

[Package SAGx version 1.6.0 Index]