Closed JieYang031 closed 7 years ago
You're using an object created with an old (well, not that old) version of minfi together with new code. The class structure has changed. You can check whether or not you have a valid object with the loaded class definition by
validObject(rgSet)
I predict you will see a message. To update your object to the new class definition, do
reset = updateObject(rgSet)
(this only needs to be done once, you should then re-save rgSet
.
Closing this issue as I assume this addresses it.
I tried to feed rgSet with
preprocessRaw
frompreprocess.R
file but it gave me an error. Then I looked into the function and tried to run the preprocessRaw function step by step. I found the error is related to the Methylset function.The above error is essentially related to the
colData
. I also foundcolData
is a method from theSummarizedExperiment
package and it is not applicable to the classRGChannelSetExtended
.Then I looked for the definition of
MethylSet
in themset.R
fileThe function did not have the option of colData and metadata. So I go back to check the origin of colData. It comes from the R package named summarizedExperiment. All I can think of is that the class of rgSet is not suitable for colData function. But how can we change the class of rgSet and make it usable in the colData function?