我在新的私人R套餐中打电话给lmFit
。但是当调用包含对lmFit
的调用的方法时,我收到了错误:
Error in getEAWP(object) : could not find function "exprs"
实施的结构如下:
setMethod(
f = "genexp",
signature = "clusterContainer",
definition = function(object, expSet, fdr.cutoff = 0.05) {
design <- model.matrix(groups, data = Biobase::pData(expSet))
fit <- limma::lmFit(expSet, design)
fit <- limma::eBayes(fit)
# [...]
}
)
DESCRIPTION
文件包含:
...
LazyData: true
Imports:
Biobase,
...
limma
Suggests:
testthat
NAMESPACE
:
exportPattern("^[^\\.]")
importFrom(Biobase, AnnotatedDataFrame)
importFrom(Biobase, exprs)
我需要做些什么来致电lmFit
(和其他人)并让他们使用第三个套餐的功能?
更新1 :我添加了追溯:
> genexp(c, expression)
Error in getEAWP(object) : could not find function "exprs"
5 getEAWP(object)
4 limma::lmFit(expSet, design) at clusterContainer-genexp.R#18
3 .local(object, ...)
2 genexp(c, expression) at 1_AllGenerics.R#50
1 genexp(c, expression)
更新2 :函数getEAWP
来自limma
。函数exprs
来自Biobase
。