Hello,
My package doesn't ever explicitly call LargeDataObject, so I don't think it
should have to explicitly import it.
I am also confused by the advice that Depends is preferable to Imports. I read
in Writing R Extensions that "Packages whose namespace only is needed to load
the package usin
edgeR knows about LargeDataObject. It's your package that doesn't.
Gordon
On Fri, 27 Jun 2014, Dario Strbenac wrote:
Hello,
I never explicitly use that class in my function. I did debugging and realised
what the problem is. DGEList is part of class hierarchy and it inherits from
the supe
Hello,
I never explicitly use that class in my function. I did debugging and realised
what the problem is. DGEList is part of class hierarchy and it inherits from
the superclass LargeDataObject
> showClass("DGEList")
Class "DGEList" [package "edgeR"]
Slots:
Name: .Data
Class: li
After some thought, I've decided to import the LargeDataClass as you've
requested, but I have to say that some of your message doesn't make a lot
of sense to me.
The class of your data object looks weird. Is this really a valid class?
glmFit() doesn't have a method for the LargeDataObject cla
Thank you. I made that change to the edgeR source code and reinstalled it, but
I get another error further in my function :
Error in UseMethod("glmFit") :
no applicable method for 'glmFit' applied to an object of class "c('DGEList',
'list', 'LargeDataObject', 'vector')"
This is because of La
Hi Dario,
Isn't an easier fix to simply add
ImportFrom(limma, loessFit)
in your NAMESPACE file?
Best,
Jim
On 6/26/2014 12:00 AM, Dario Strbenac wrote:
Hello,
I am writing a package that has a function that uses
estimateGLMRobustDisp, leading to an error :
Error in dispBinTrend(y, design,