[BioC] Error in slot assignment (Golub_Train exercise)

Joern Toedling toedling at ebi.ac.uk
Mon Jul 28 14:55:44 CEST 2008

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


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

More information about the Bioconductor mailing list