[BioC] AnnotatedDataFrame and cbind
Vincent Carey
stvjc at channing.harvard.edu
Thu Oct 21 18:12:52 CEST 2010
in man page for AnnotatedDataFrame-class: combine is used; cbind is
perhaps too suggestive for this more complex structure
On Thu, Oct 21, 2010 at 12:01 PM, Simon Anders <anders at embl.de> wrote:
> Hi
>
> I've got two objects of class AnnotatedDataFrame and would like to combine
> them in the style of 'cbind'. How is this done?
>
> Is there really no method defined for 'cbind' and 'AnnotatedDataFrame' or am
> I overlooking something?
>
>
> What I mean is that this here works with ordinary data.frames:
>
>> df1 <- data.frame( A=1:5 )
>> df2 <- data.frame( B=11:15 )
>> cbind( df1, df2 )
> A B
> 1 1 11
> 2 2 12
> 3 3 13
> 4 4 14
> 5 5 15
>
> I'd expect hence that this should work, too:
>
>> library( Biobase )
>> adf1 <- new( "AnnotatedDataFrame", df1 )
>> adf2 <- new( "AnnotatedDataFrame", df2 )
>> cbind( adf1, adf2 )
> adf1 adf2
> [1,] ? ?
>
> Is there maybe something else defined?
>
> Thanks.
>
> Simon
>
>
>
> +---
> | Dr. Simon Anders, Dipl.-Phys.
> | European Molecular Biology Laboratory (EMBL), Heidelberg
> | office phone +49-6221-387-8632
> | preferred (permanent) e-mail: sanders at fs.tum.de
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>
More information about the Bioconductor
mailing list