fitOneModel: fitOneModel Train a single subtype model.

View source: R/fitModels.R

fitOneModelR Documentation

fitOneModel Train a single subtype model.

Description

fitOneModel Train a single subtype model.

Usage

fitOneModel(Xbin, Ybin, params = list(max_depth = 2, eta = 0.5, nrounds =
  33, nthread = 5))

Arguments

Xbin

Gene expression matrix.

Ybin

Phenotype vector.

params

Params for xgboost.

Value

A single xgboost classifier.

Examples

modC1 <- fitOneModel(ebppGeneExpr, phenotype)


CRI-iAtlas/ImmuneSubtypeClassifier documentation built on Oct. 1, 2022, 10:50 a.m.