getOneRoundCVRes: Get one round CV result

View source: R/Biomarker.R

getOneRoundCVResR Documentation

Get one round CV result

Description

Get one round CV result

Usage

getOneRoundCVRes(df, label, k, seed = 1, times = 1, type = "response")

Arguments

df

data.frame. Row is sample, col is gene

label

TRUE/FALSE vector

k

Folds

times

Default: 1. the number of pieces was use to predict. E.g. times = 5, will run 5 times, each time use a different piece to predict.

type

"response" or "link"


ProfessionalFarmer/loonR documentation built on Oct. 9, 2024, 9:56 p.m.