A subset of ExpressionSet

I have an ExpressionSet object that I want to multiply. For example,

 > str(ESet) Formal class 'ExpressionSet' [package "Biobase"] .. ..@ assayData :.. ..@ phenoData : .. .. .. ..$ STATUS : num [1:210] 1 1 1 1 1 1 1 1 1 1 ... .... 

I want to extract a subset where STATUS==0 . I tried:

 exprs( ESet@phenoData $STATUS==0) 

but that will not work.

+2
source share
1 answer

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.

+2
source

All Articles