lmMatrixFit(lol)
lmMatrixFit()所属R语言包:lol
Multiple lm fit for penalized regressions
惩罚回归多个LM适合
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Refit the regressions given matrices of responses, predictors, and the coefficients/interactions matrix. This is typically used after the lasso, since the coefficients were shrinked.
改装的反应,预测,系数/相互作用矩阵的矩阵的回归。这通常用套索后,缩小以来系数。
用法----------Usage----------
lmMatrixFit(y, x = NULL, mat, th = NULL)
参数----------Arguments----------
参数:y
Input response matrix, typically expression data with genes/variables in columns and samples/measurements in rows. Or when input x is NULL, y should be an object of two lists: y: expression data and x: copy number data
输入响应矩阵,通常的表达与基因/列和行的样品/测量变量的数据。或输入x是NULL时,y应该是两个列表的对象:Y:表达数据和X:拷贝数数据
参数:x
Input predictor matrix, typically copy number data, genes/predictors in columns and samples/measurements in rows. Can be NULL
输入预测矩阵,通常复制数字数据,基因在列和行的样品/测量/预测。可以为NULL
参数:mat
Coefficient matrix, number of columns is the number of predictors (y) and number of rows is the number of responses (x)
系数矩阵,列数是预测数(y)和行数的反应数量(x)
参数:th
The threshold to use in order to determine which coefficients are non-zero, so the corresponding predictors are used
以确定哪些系数不为零,所以相应的预测是用来使用阈值
值----------Value----------
参数:coefMat
A coefficient matrix, rows are responses and columns are predictors
一个系数矩阵,行响应和列预测
参数:resMat
A residual matrix, each row is the residuals of a response.
剩余的矩阵,每一行是一个响应的残差。
参数:pvalMat
Matrix of p-values for each coefficients
每个系数矩阵P值
作者(S)----------Author(s)----------
Yinyin Yuan
参见----------See Also----------
lm, matrixLasso
LM,matrixLasso
举例----------Examples----------
data(chin07)
data <- list(y=t(chin07$ge), x=t(chin07$cn))
res <- matrixLasso(data, method='cv', nFold=5)
res
res.lm <- lmMatrixFit(y=data, mat=abs(res$coefMat), th=0.01)
res.lm
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|