splitCommon: Split Sample Table

View source: R/splitCommon.R

splitCommonR Documentation

Split Sample Table

Description

Split the sample table into training and validation through random sampling.

Usage

splitCommon(sampTab, ncells = NA, dLevel)

Arguments

sampTab

sample table

ncells

number of samples for training in each category. If left empty, will automatically select half of the number of samples in the smallest category.

dLevel

the column name with the classification categories.

Value

a list containing training sample table and validation sample table


pcahan1/cancerCellNet documentation built on July 16, 2022, 12:12 a.m.