example(MultiAssayExperiment)
mae
mae[[1]] <- mae[[1]][NULL, ]
mae
mae[[1]]
getWithColData(mae, 1)
Observed error:
Error in normalizeDoubleBracketSubscript(i, x, exact = exact, allow.NA = TRUE, :
subscript is out of bounds
Note that the same error occurs when having an experiment with 0 columns.
Expected behavior:
The function should still work as before and as the double brackets operator works, just with adding the MAE colData columns to the experiment.
Reprex:
Observed error:
Note that the same error occurs when having an experiment with 0 columns.
Expected behavior: The function should still work as before and as the double brackets operator works, just with adding the MAE
colData
columns to the experiment.Session info: