permutePLSDA: permutePLSDA

View source: R/tool.R

permutePLSDAR Documentation

permutePLSDA

Description

Validation of the PLS-DA model by using permutation test statistics

Usage

permutePLSDA(x, y, n = 100, np = 2, outdir = "./",
  prefix = "metaX", tol = 0.001, cpu = 0, ...)

Arguments

x

a matrix of observations.

y

a vector or matrix of responses.

n

number of permutations to compute the PLD-DA p-value based on R2 magnitude. Default n=100

np

the number of components to be used in the modelling.

outdir

output dir

prefix

the prefix of output figure file

tol

tolerance value based on maximum change of cumulative R-squared coefficient for each additional PLS component. Default tol=0.001

cpu

0

...

additional arguments

Value

pvalue


wenbostar/metaX documentation built on July 4, 2023, 7:50 p.m.