Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-10-13 Thread Michael Lawrence
On Mon, Oct 13, 2014 at 9:44 PM, Hervé Pagès wrote: > Hi, > > On 10/11/2014 02:25 PM, Vincent Carey wrote: > >> On Sat, Oct 11, 2014 at 5:17 PM, Michael Lawrence < >> lawrence.mich...@gene.com >> >>> wrote: >>> >> >> But what it would do exactly? >>> >>> Probably would want to be able to extract

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-10-13 Thread Hervé Pagès
Hi, On 10/11/2014 02:25 PM, Vincent Carey wrote: On Sat, Oct 11, 2014 at 5:17 PM, Michael Lawrence wrote: But what it would do exactly? Probably would want to be able to extract a gene list from a TxDb, then extract the desired type of structure from the TxDb. Not too bad right now, but it

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-10-11 Thread Vincent Carey
On Sat, Oct 11, 2014 at 5:17 PM, Michael Lawrence wrote: > But what it would do exactly? > > Probably would want to be able to extract a gene list from a TxDb, then > extract the desired type of structure from the TxDb. > > Not too bad right now, but it would be nice to leverage the identifier >

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-10-11 Thread Michael Lawrence
But what it would do exactly? Probably would want to be able to extract a gene list from a TxDb, then extract the desired type of structure from the TxDb. Not too bad right now, but it would be nice to leverage the identifier type information on the gene list object. Currently: tx <- transcripts

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-10-11 Thread Martin Morgan
On 10/11/2014 08:41 AM, Vincent Carey wrote: Is there anything on the order of as([GeneSet], "GRanges") around? no, I don't think so; obviously of use and following a common theme. Martin On Sat, Sep 20, 2014 at 11:34 PM, Gabe Becker wrote: Sean and Vincent, The goal of what we are doing

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-10-11 Thread Vincent Carey
Is there anything on the order of as([GeneSet], "GRanges") around? On Sat, Sep 20, 2014 at 11:34 PM, Gabe Becker wrote: > Sean and Vincent, > > The goal of what we are doing builds off of what Martin has in GSEABase. > We were looking to see how much benefit we can get with something > lighter-w

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-09-22 Thread Vincent Carey
On Mon, Sep 22, 2014 at 10:17 AM, Cook, Malcolm wrote: > Hi, > > > > https://github.com/vjcitn/biocMultiAssay/blob/master/vignettes/SEresolver.Rnw > > > >shows some modifications to [ that allow subsetting of SE by > >gene or pathway name > > Without reading the code, do you intend that SE[i,j

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-09-22 Thread Cook, Malcolm
Hi, >https://github.com/vjcitn/biocMultiAssay/blob/master/vignettes/SEresolver.Rnw > >shows some modifications to [ that allow subsetting of SE by >gene or pathway name Without reading the code, do you intend that SE[i,j] will , if i is provided as vector of string, will subset those rows wh

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-09-21 Thread Vincent Carey
Sounds very nice. Anything for the impending release? On Sat, Sep 20, 2014 at 11:34 PM, Gabe Becker wrote: > Sean and Vincent, > > The goal of what we are doing builds off of what Martin has in GSEABase. > We were looking to see how much benefit we can get with something > lighter-weight that l

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-09-20 Thread Gabe Becker
Sean and Vincent, The goal of what we are doing builds off of what Martin has in GSEABase. We were looking to see how much benefit we can get with something lighter-weight that lies between indistinguishable character vectors and the full machinery of GeneSets. Either way, it seems like formalizi

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-09-20 Thread Vincent Carey
On Sat, Sep 20, 2014 at 3:11 PM, Gabe Becker wrote: > Hey all, > > We are in the (very) early stages of experimenting with something that > seems relevant here: classed identifiers. We are using them for > database/mart queries, but the same concept could be useful for the cases > you're describi

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-09-20 Thread Sean Davis
On Sat, Sep 20, 2014 at 3:11 PM, Gabe Becker wrote: > Hey all, > > We are in the (very) early stages of experimenting with something that > seems relevant here: classed identifiers. We are using them for > database/mart queries, but the same concept could be useful for the cases > you're describi

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-09-20 Thread Gabe Becker
Hey all, We are in the (very) early stages of experimenting with something that seems relevant here: classed identifiers. We are using them for database/mart queries, but the same concept could be useful for the cases you're describing I think. E.g. > mysyms = GeneSymbol(c("BRAF", "BRCA1")) > my

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-09-20 Thread Vincent Carey
OK by me to leave [ alone. We could start with subsetByEntrez, subsetByKEGG, subsetBySymbol, subsetByGOTERM, subsetByGOID. Utilities to generate GRanges for queries in each of these vocabularies should, perhaps, be in the OrganismDb space? Once those are in place no additional infrastructure is

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-09-20 Thread Tim Triche, Jr.
Agreed with Sean, having tried implementing to "magical" alternative --t > On Sep 20, 2014, at 9:31 AM, Sean Davis wrote: > > Hi, Vince. > > I'm coming a little late to the party, but I agree with Kasper's sentiment > that the less "magical" approach of using subsetByXXX might be the cleaner >

Re: [Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-09-20 Thread Sean Davis
Hi, Vince. I'm coming a little late to the party, but I agree with Kasper's sentiment that the less "magical" approach of using subsetByXXX might be the cleaner way to go for the time being. Sean On Sat, Sep 20, 2014 at 10:42 AM, Vincent Carey wrote: > > https://github.com/vjcitn/biocMultiAss

[Bioc-devel] 'semantically rich' subsetting of SummarizedExperiments

2014-09-20 Thread Vincent Carey
https://github.com/vjcitn/biocMultiAssay/blob/master/vignettes/SEresolver.Rnw shows some modifications to [ that allow subsetting of SE by gene or pathway name it may be premature to work at the [ level. Kasper suggested defining a suite of subsetBy operations that would accomplish this i think