permutation_test_model: Permutation test

Description Usage Arguments Value

Description

Make permutations with data and default settings from an lcms_data_analysis_method

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
permutation_test_model(
  dataset,
  y_column,
  identity_column,
  balance_in_train = NULL,
  external_val,
  internal_val,
  data_analysis_method,
  nPerm = 50
)

Arguments

dataset

An lcms_dataset_family object

y_column

A string with the name of the y column (present in the metadata of the dataset)

identity_column

NULL or a string with the name of the identity column (present in the metadata of the dataset).

external_val

A list with two elements: iterations and test_size. See random_subsampling for further details

internal_val

A list with two elements: iterations and test_size. See random_subsampling for further details

data_analysis_method

An lcms_data_analysis_method object

nPerm

number of permutations

Value

A permutation matrix with permuted values


sipss/AlpsLCMS documentation built on May 13, 2021, 6:18 p.m.