You are almost there. Having guessed your data structure, I think the following should work:
exprs(ESet)[ ESet@phenoData $STATUS==0,]
If you look at this article , there are many examples of data substitution based on voltage and time. I must admit that I am the author of this article.
csgillespie
source share