Skip to content

Commit

Permalink
use replacement method when splitting assays to regen sampmap
Browse files Browse the repository at this point in the history
  • Loading branch information
LiNk-NY committed Aug 11, 2023
1 parent 699a945 commit befac2c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions R/MultiAssayExperiment-helpers.R
Expand Up @@ -826,10 +826,8 @@ setMethod("splitAssays", "MultiAssayExperiment",
names(sublist) <- gsub("\\.", "_", names(sublist))
names(x) <- names(sublist)

BiocBaseUtils::setSlots(
object = x,
ExperimentList = ExperimentList(sublist)
)
experiments(x) <- ExperimentList(sublist)
x
}
)

Expand Down

0 comments on commit befac2c

Please sign in to comment.