xgboost_pred: Function to predict the GEP-subgroups using XGBoost model

xgboost_predR Documentation

Function to predict the GEP-subgroups using XGBoost model

Description

Function to predict the GEP-subgroups using XGBoost model

Usage

xgboost_pred(x = NULL, exp_type = "log2tpm", use_models = 80)

Arguments

x

Normalized gene expression matrix or its file path

exp_type

deseq2 or log2tpm

use_models

models were used

Examples

x <- system.file("extdata", "tcga_log2tpm_test.csv", package = "clinaml")
res <- xgboost_pred(x, exp_type = "log2tpm")
x2 <- system.file("extdata", "tcga_deseq2_test.csv", package = "clinaml")
res2 <- xgboost_pred(x2, exp_type = "deseq2")

clindet/clinaml documentation built on Jan. 3, 2023, 6:13 a.m.