Error in slot assignment (Golub_Train exercise)
1
0
Entering edit mode
@tadayoshi-hari-2949
Last seen 9.6 years ago
I just have a problem when I do cluster analysis following Bioconductor basics tutorial. The problem happened here: > X <- scale(X) > golubTrainSub <- golubTrain[good, ] > slot(golubTrainSub, "exprs") <- X Error in checkSlotAssignment(object, name, value) : "exprs" is not a slot in class "ExpressionSet" Can anybody tell me how to do it? I used new version of golubEsets (Golub_Train). Thank you very much.TH [[alternative HTML version deleted]]
• 587 views
ADD COMMENT
0
Entering edit mode
@joern-toedling-1244
Last seen 9.6 years ago
Hello, you should avoid making direct assignments or calls to slots in ExpressionSet objects, but rather use the provided accessor functions, in your case: exprs(golubTrainSub) <- X Regards, Joern Tadayoshi Hari wrote: > I just have a problem when I do cluster analysis following Bioconductor basics tutorial. The problem happened here: > > >> X <- scale(X) >> golubTrainSub <- golubTrain[good, ] >> slot(golubTrainSub, "exprs") <- X >> > Error in checkSlotAssignment(object, name, value) : > "exprs" is not a slot in class "ExpressionSet" > > Can anybody tell me how to do it? I used new version of golubEsets > (Golub_Train). > > Thank you very much.TH > >
ADD COMMENT

Login before adding your answer.

Traffic: 767 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6