% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGenerics.R, R/getMethods.R, R/setMethods.R
\title{Matrix representation of full model}

fullMatrix(object) <- value


\S4method{fullMatrix}{deSet}(object) <- value
\item{object}{\code{S4 object}: \code{\linkS4class{deSet}}}

\item{value}{\code{matrix}: full model matrix where the columns are the
covariates and rows are observations}
\code{fullMatrix} returns the value of the full model matrix.
These generic functions access and set the full matrix for
\code{\linkS4class{deSet}} object.
# import data
age <- kidney$age
sex <- kidney$sex
kidexpr <- kidney$kidexpr
cov <- data.frame(sex = sex, age = age)

# create models
null_model <- ~sex
full_model <- ~sex + ns(age, df = 4)

# create deSet object from data
de_obj <- build_models(data = kidexpr, cov = cov, null.model = null_model,
full.model = full_model)

# extract the full model equation as a matrix
mat_full <- fullMatrix(de_obj)
Andrew Bass, John Storey
\code{\linkS4class{deSet}}, \code{\link{fullModel}}