Added in IRanges 1.21.41.
H.
On 04/01/2014 06:15 PM, Michael Lawrence wrote:
I like phead/ptail. I was going to write them, so thanks for taking care
of it!
Michael
On Tue, Apr 1, 2014 at 3:24 PM, Hervé Pagès mailto:hpa...@fhcrc.org>> wrote:
On 04/01/2014 02:43 PM, Michael Lawrence wro
I like phead/ptail. I was going to write them, so thanks for taking care of
it!
Michael
On Tue, Apr 1, 2014 at 3:24 PM, Hervé Pagès wrote:
> On 04/01/2014 02:43 PM, Michael Lawrence wrote:
>
>> Thanks Herve. I might not be so bad to have rep out in the unnamed case
>> (think of NULL names mea
Hi Herve,
I think you read my mind. However, now I have managed to come to a
slightly different bump. I don't want to use averaged values, per se (I
think there's a UCSC tool of some sort that would do that), but rather I
want to let Gviz or trackViewer plot both the individiual data points and
On 04/01/2014 10:40 AM, Tim Triche, Jr. wrote:
Hi all,
The following is tangentially related, but hopefully the answer will be useful
to others (both directly and via my package, which prompts this)...
Suppose I do this:
dat <- GRangesList(
lapply( bigWigFileNames, import,
select
Hi Tim,
There is probably too much guess work for me to really be able to
help... However, and FWIW, in Bioc-devel the 'asRle' argument of
import() has been replaced by the 'as' argument and it can be set
to "GRanges", "RleList", or "NumericList". Be aware that, surprisingly,
if you specify a 'se
On 04/01/2014 02:43 PM, Michael Lawrence wrote:
Thanks Herve. I might not be so bad to have rep out in the unnamed case
(think of NULL names meaning wildcard). If we had:
i <- IntegerList(1:5)
x[i]
The 'i' does not really identify any one element in 'x'. If both 'i' and
'x' had names, then ther
Thanks Herve. I might not be so bad to have rep out in the unnamed case
(think of NULL names meaning wildcard). If we had:
i <- IntegerList(1:5)
x[i]
The 'i' does not really identify any one element in 'x'. If both 'i' and
'x' had names, then there would be a matching, but otherwise, truncating
'
On 04/01/2014 10:17 AM, Ryan wrote:
That won't work if any vector has fewer than 5 elements. Maybe
lapply(x, head, n=5)
would work?
Yes. Note that you can use endoapply() to preserve the class of the
original object:
> endoapply(cvg, head, n=5)
RleList of length 3
$chr1
integer-Rle o
Hi Michael,
On 04/01/2014 07:21 AM, Michael Lawrence wrote:
Mostly to Herve:
Sometimes we want to pluck the first 1, or 10, or whatever elements from
each element of a list. If I had a list 'x', I thought I could do this with:
x[IntegerList(1:5)]
But it only gives elements 1:5 from x[[1]], no
Hi all,
The following is tangentially related, but hopefully the answer will be useful
to others (both directly and via my package, which prompts this)...
Suppose I do this:
dat <- GRangesList(
lapply( bigWigFileNames, import,
selection=someRanges ) )
Now I have a GRangesList of
That won't work if any vector has fewer than 5 elements. Maybe
lapply(x, head, n=5)
would work?
On Tue Apr 1 09:24:51 2014, Cook, Malcolm wrote:
in the mean time,
lapply(`[`,x,IntegerList(1:5))
??
>-Original Message-
>From: bioc-devel-boun...@r-project.org
[mailto:bioc-devel-b
in the mean time,
lapply(`[`,x,IntegerList(1:5))
??
>-Original Message-
>From: bioc-devel-boun...@r-project.org
>[mailto:bioc-devel-boun...@r-project.org] On Behalf Of Michael Lawrence
>Sent: Tuesday, April 01, 2014 9:21 AM
>To: bioc-devel@r-project.org
>Subject: [Bioc-devel] Sub
12 matches
Mail list logo