harmonizing input:
removing 10 sampleMap rows not in names(experiments)
removing 6 colData rownames not in sampleMap 'primary'
Warning message:
sampleMap[['primary']] coerced with as.factor()
Instead it requires the sampleMap to have the assay column first:
mae <- MultiAssayExperiment(list(rnaseq=rna.se, chipseq=chip.se), sampleMap=mapping[,c(2,3,1)])
This was not previously required and can be expected to break some percentage of user code in the wild. It certainly broke alabaster.mae's build. If this new requirement is intended, a deprecation process involving a sensible warning-to-error message would make more sense than near-silently blasting away all of the data in the MAE.
This used to work.
Now it "harmonizes" all of the data away:
Instead it requires the
sampleMap
to have theassay
column first:This was not previously required and can be expected to break some percentage of user code in the wild. It certainly broke alabaster.mae's build. If this new requirement is intended, a deprecation process involving a sensible warning-to-error message would make more sense than near-silently blasting away all of the data in the MAE.