dot-lrde_pval: Function to perform logistic regression test

Description Usage Arguments Value

Description

Function to perform logistic regression test

Usage

1
.lrde_pval(data, response, response.ref = NULL)

Arguments

data

Matrix with the predictor variables in columns

response

Vector with two levels indicating the response (class) variable.

response.ref

The level of response that should be used as reference.

This function needs the package lmtest to compare GLMs. In case no response reference level is set, but the response contains more than two levels, a warning is reported and the first level is automatically chosen.

Value

A p-value of the lrtest between the full and null model.


jenzopr/singlecellutils documentation built on June 12, 2019, 2:51 a.m.