DataTableWithTrainTestSets: Random sampling of n training sets in a DataTableWithClasses.

Description Usage Arguments Value Author(s)

View source: R/Data_table_with_train_test_sets.R

Description

Select n random subsets for training. among the biological samples from a DataTableWithClasses.

Usage

1
2
3
4
5
6
DataTableWithTrainTestSets(
  self,
  stratified = TRUE,
  iterations = parameters$iterations,
  trainingProportion = parameters$trainingProportion
)

Arguments

self

an object of the class DataTableWithClasses

stratified=TRUE

if true, sampling is done in each class separately in order to preserve the relative frequencies of classes in training and testing sets.

iterations=parameters$iterations

number of train/test iterations, which defines the number of independent sampled subsets

trainingProportion=parameters$trainingProportion

proportion of samples to sample for each training set

Value

object of class DataTableWithTrainTestSets containing the following attributes

Author(s)

Jacques van Helden and Mustafa AbuElQumsan


elqumsan/RNAseqMVA documentation built on March 10, 2021, 8:10 a.m.