dmrcoef-class: Class '"dmrcoef"'

dmrcoef-classR Documentation

Class "dmrcoef"

Description

The extended dgCMatrix class for output from coef.dmr.

Details

This is the class for a covariate matrix from dmr regression; it inherits the dgCMatrix class as defined in the Matrix library. In particular, this is the ncol(covars) by ncol(counts) matrix of logistic regression coefficients chosen in coef.dmr from the regularization paths for each category.

Objects from the Class

Objects can be created only by a call to the coef.dmr function.

Slots

i:

From dgCMatrix: the row indices.

p:

From dgCMatrix: the column pointers.

Dim:

From dgCMatrix: the dimensions.

Dimnames:

From dgCMatrix: the list of labels.

x:

From dgCMatrix: the nonzero entries.

factors:

From dgCMatrix.

Extends

Class dgCMatrix, directly.

Methods

predict

signature(object = "dmrcoef"): Prediction for a given dmrcoef matrix. Takes the same arguments as predict.dmr, but will be faster (since coef.dmr is called inside predict.dmr).

Author(s)

Matt Taddy mataddy@gmail.com

See Also

dmr, coef.dmr, predict.dmr

Examples

showClass("dmrcoef")

TaddyLab/distrom documentation built on April 6, 2022, 3:47 p.m.