validation: MegaR validation

Description Usage Arguments

View source: R/validation.R

Description

This function conducts 10 fold cross validation on N set of data

Usage

1
2
validation(Num, modelclas, mytable3, classid, sampleid, ruleout, psd,
  metadat)

Arguments

Num

No. of sets to run for validation

modelclas

one of the model, randomforest, supportvector machine or generalized linear model

mytable3

processed input file with features

classid

the column number in metadata file in which the class of input data is stored

sampleid

the column number of metadata file which contain sample ids that match with input data

ruleout

the class which is to be removed from classification model

psd

the percentage of data to be split into training set

metadat

the metadata path


BioHPC/megaR documentation built on Oct. 3, 2021, 10:05 a.m.