Hello, The append function works in a strange way because it modifies its first argument, as well as the result variable. Unusual for R, anyway. It would be nice to document this behaviour. Notice in the example that both combined and celSet have been expanded to 12 elements.
cdf <- AffymetrixCdfFile$byChipType("Hs_PromPR_v02") celSet <- AffymetrixCelSet$byName("H2A", cdf = cdf ) > celSet AffymetrixCelSet: Name: H2A Tags: Path: rawData/H2A/Hs_PromPR_v02 Platform: Affymetrix Chip type: Hs_PromPR_v02 Number of arrays: 6 Names: LNCaP_H2A_Input, LNCaP_H2A_IP1, LNCaP_H2A_IP2, ..., PrEC_H2A_IP2 [6] Time period: 2009-03-06 11:54:53 -- 2009-03-06 15:54:41 Total file size: 269.16MB RAM: 0.01MB celSet2 <- AffymetrixCelSet$byName("H2AZ", cdf = cdf ) > celSet2 AffymetrixCelSet: Name: H2AZ Tags: Path: rawData/H2AZ/Hs_PromPR_v02 Platform: Affymetrix Chip type: Hs_PromPR_v02 Number of arrays: 6 Names: LNCaP_H2A.Z_Input, LNCaP_H2A.Z_IP1, LNCaP_H2A.Z_IP2, ..., PrEC_H2A.Z_IP2 [6] Time period: 2009-03-06 13:38:03 -- 2009-03-06 16:17:27 Total file size: 269.17MB RAM: 0.01MB combined <- append(celSet, celSet2) > combined AffymetrixCelSet: Name: H2A Tags: Path: rawData/H2A/Hs_PromPR_v02 Platform: Affymetrix Chip type: Hs_PromPR_v02 Number of arrays: 12 Names: LNCaP_H2A_Input, LNCaP_H2A_IP1, LNCaP_H2A_IP2, ..., PrEC_H2A.Z_IP2 [12] Time period: 2009-03-06 11:54:53 -- 2009-03-06 16:17:27 Total file size: 538.33MB RAM: 0.02MB > > celSet AffymetrixCelSet: Name: H2A Tags: Path: rawData/H2A/Hs_PromPR_v02 Platform: Affymetrix Chip type: Hs_PromPR_v02 Number of arrays: 12 Names: LNCaP_H2A_Input, LNCaP_H2A_IP1, LNCaP_H2A_IP2, ..., PrEC_H2A.Z_IP2 [12] Time period: 2009-03-06 11:54:53 -- 2009-03-06 16:17:27 Total file size: 538.33MB RAM: 0.02MB -- When reporting problems on aroma.affymetrix, make sure 1) to run the latest version of the package, 2) to report the output of sessionInfo() and traceback(), and 3) to post a complete code example. You received this message because you are subscribed to the Google Groups "aroma.affymetrix" group with website http://www.aroma-project.org/. To post to this group, send email to aroma-affymetrix@googlegroups.com To unsubscribe and other options, go to http://www.aroma-project.org/forum/