rbind of MALists
1
0
Entering edit mode
@matthew-scholz-1563
Last seen 10.4 years ago
Hi all, I'm trying to combine two MALists, named RGAmodel and RGBmodel, using rbind and am running into the following problem: > rbind(RGAmodel, RGBmodel) Error in match.names(clabs, names(xi)) : names don't match previous names: Name In addition: Warning message: longer object length is not a multiple of shorter object length in: clabs == nmi I checked that the names were the same for each object and that the classes and dimensions match: > names(RGAmodel) [1] "weights" "targets" "genes" "source" "printer" [6] "genesStatus" "M" "A" > names(RGBmodel) [1] "weights" "targets" "genes" "source" "printer" [6] "genesStatus" "M" "A" > class(RGAmodel) [1] "MAList" attr(,"package") [1] "limma" > class(RGBmodel) [1] "MAList" attr(,"package") [1] "limma" > dim(RGAmodel) [1] 32448 32 > dim(RGBmodel) [1] 32448 32 What am I doing wrong? I'm using R2.3.0 and Bioconductor 1.7 Thanks, Matt -- Matt Scholz Senior Research Specialist Department of Plant Sciences University of Arizona (520) 621-1695
• 714 views
ADD COMMENT
0
Entering edit mode
@gordon-smyth
Last seen 5 hours ago
WEHI, Melbourne, Australia
At 09:49 AM 15/06/2006, Gordon K Smyth wrote: >The reason why rbind() works with B first but not the other way >around is that the first object sets the columns and the second >object with fewer columns is >filled out with NAs. Please ignore this sentence is my previous post -- rbinding doesn't actually work either way around if data.frames have different columns. Gordon
ADD COMMENT

Login before adding your answer.

Traffic: 585 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6