[Bioc-devel] MultiAssayExperiment Subsetting Fails if Column Data Has One Column

Marcel Ramos marcel.ramosperez at roswellpark.org
Wed Sep 13 18:02:59 CEST 2017


Dear Dario,

Thank you for your report, this is resolved in MultiAssayExperiment 1.3.35.


Sorry for the noise everyone.


Regards,

Marcel


On 09/12/2017 11:00 PM, Dario Strbenac wrote:
> Good day,
>
> Subsetting a MultiAssayExperiment object fails if the column data has one column but not 2 or more columns. Perhaps drop = FALSE is missing for the DataFrame subsetting. A minimal example is:
>
> rowColNames <- list(paste0("Gene", 1:10), paste0("Person", 1:10))
> aTable <- matrix(rnorm(100), ncol = 10, dimnames = rowColNames)
> classes <- data.frame(row.names = paste0("Person", 1:10),
>                        class = rep(c("Non-Responder", "Recovery"), each = 5))
> measurementsSet <- MultiAssayExperiment(list(RNA = aTable), classes)
> measurementsSet[1, 1, ]
>
> other attached packages:
> [1] S4Vectors_0.15.7            BiocGenerics_0.23.1         MultiAssayExperiment_1.3.34
>
> --------------------------------------
> Dario Strbenac
> University of Sydney
> Camperdown NSW 2050
> Australia
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
Marcel Ramos
Bioconductor Core Team Member
Roswell Park Cancer Institute


This email message may contain legally privileged and/or...{{dropped:4}}



More information about the Bioc-devel mailing list