incrementalTest: incrementalTest Fits incremental logistic models (a null...

View source: R/pipeline_modules.R

incrementalTestR Documentation

incrementalTest Fits incremental logistic models (a null model and a full model corresponding to covariates only and covariates+score respectively).

Description

incrementalTest Fits incremental logistic models (a null model and a full model corresponding to covariates only and covariates+score respectively).

Usage

incrementalTest(
  X,
  yColname,
  covColnames,
  scoreColname,
  family = "binomial",
  pipelineRunInformation
)

Arguments

X

A matrix/data.frame with columns corresponding to the labels, all covariates and the score to be evaluated.

yColname

The name of the column in X corresponding to the labels.

covColnames

A list/vector of the column names corresponding to covariates.

scoreColname

The name of the column in X corresponding to the score to be evaluated.

family

The glm model family. Default is 'binomial' for logistic regression.

pipelineRunInformation

The object originally created by beginPipelineRun.

Value

A list containing results for the null and full models. For both model types, the formula string, glm model object, response, AUC and PRAUC are returned.


marioni-group/MethylPipeR documentation built on Oct. 10, 2024, 3:32 p.m.