glm_rank: Rank features by univariate glm

Description Usage Arguments Value

View source: R/utility.R

Description

Fits a glm in each predictor and returns the p-value for β_1 in each glm.

Usage

1

Arguments

x

A predictor matrix with samples in the rows.

y

A response vector.

family

A description of the error distribution/link function for the glms. For more info see the documentation for glm.

Value

Vector of p-values from the glms.


3inar/einr documentation built on May 5, 2019, 10:43 a.m.