Skip to content

Commit

Permalink
Update MsExperiment.R
Browse files Browse the repository at this point in the history
  • Loading branch information
philouail committed Sep 23, 2024
1 parent e0c4a9d commit 660c376
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/MsExperiment.R
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ setMethod("readMsObject",
merged_data[, nme]), ]
nme <- gsub(" ", "_", nme)
colnames(merged_data)[idx] <- nme
object@sampleData <- DataFrame(merged_data, check.names = FALSE)
object@sampleData <- DataFrame(merged_data, check.names = FALSE,
row.names = NULL)
object <- MsExperiment::linkSampleData(object,
with = paste0("sampleData.",
nme,
Expand Down

0 comments on commit 660c376

Please sign in to comment.