Dear all,
today I observed an unexpected behaviour (at least for me) using the "[<-"
operator on classes that inherited "Vector".
I want to change the order of some elements inside the Vector (in my use case it
is an AAStringSet object). If I use an index in "[<-" the names, the
elementMetadata an
hi,
Is there a way that I can change the names of the assays slot of a
SummarizedExperiment, without making a new copy of the data contained
within? Assume I get an SE which has already been constructed, but no
names on the assays() SimpleList.
thanks,
Mike
> library(GenomicRanges)
> gc()
Hi Sebastian,
This is the expected behavior and it's motivated by how [<- behaves on
ordinary vectors:
x <- setNames(1:3, LETTERS[1:3])
Then:
> x
A B C
1 2 3
Replacing the first two elements:
x[2:1] <- x[1:2]
Then:
> x
A B C
2 1 3
The names are preserved.
So we need to th
On 05/07/2014 12:06 PM, Michael Love wrote:
hi,
Is there a way that I can change the names of the assays slot of a
SummarizedExperiment, without making a new copy of the data contained
within? Assume I get an SE which has already been constructed, but no
names on the assays() SimpleList.
Hi Mi
Hi Hervé,
thanks for the explanation. I never recognized that this happens with ordinary
vectors, too.
Of course, I see that it would be a bad style to overload "[<-" for my own
class to behave like I want to.
So I need to update the metadata manually.
Kind regards,
Sebastian
On 2014-05-07 2
I maintain a collection of Debian packages of CRAN and BioC[1] for
public use; currently, whenever BioC makes a new release, it requires
manual intervention for me to point at the new release location.
It would be helpful if there was a
http://www.bioconductor.org/packages/current redirect to the
Hi Don --
On 05/07/2014 06:21 PM, Don Armstrong wrote:
I maintain a collection of Debian packages of CRAN and BioC[1] for
public use; currently, whenever BioC makes a new release, it requires
manual intervention for me to point at the new release location.
It would be helpful if there was a
htt
- Original Message -
> From: "Martin Morgan"
> To: bioc-devel@r-project.org
> Sent: Wednesday, May 7, 2014 10:07:10 PM
> Subject: Re: [Bioc-devel] Tracking Current release
> (http://www.bioconductor.org/packages/current redirect to
> http://www.bioconductor.org/packages/2.14)
>
> Hi Do