Re: [R] Is that an efficient way to find the overlapped , upstream and downstream ranges for a bunch of ranges

2016-04-11 Thread Michael Lawrence
For the sake of prosterity, this question was asked and answered here: https://support.bioconductor.org/p/80448 On Tue, Apr 5, 2016 at 10:27 AM, 何尧 wrote: > I do have a bunch of genes ( nearly ~5) from the whole genome, which > read in genomic ranges > > A range(gene) can be seem as an obse

Re: [R] Is that an efficient way to find the overlapped , upstream and downstream ranges for a bunch of ranges

2016-04-05 Thread David Winsemius
> On Apr 5, 2016, at 10:27 AM, 何尧 wrote: > > I do have a bunch of genes ( nearly ~5) from the whole genome, which > read in genomic ranges > > A range(gene) can be seem as an observation has three columns chromosome, > start and end, like that > > seqnames start end width strand >

[R] Is that an efficient way to find the overlapped , upstream and downstream ranges for a bunch of ranges

2016-04-05 Thread 何尧
I do have a bunch of genes ( nearly ~5) from the whole genome, which read in genomic ranges A range(gene) can be seem as an observation has three columns chromosome, start and end, like that seqnames start end width strand gene1 chr1 1 5 5 + gene2 chr110