Skip to content

Commit

Permalink
Update rc.get.xmcs.data.R
Browse files Browse the repository at this point in the history
  • Loading branch information
cbroeckl committed Jan 22, 2024
1 parent 8aa8867 commit 42c8947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/rc.get.xmcs.data.R
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ rc.get.xcms.data <- function(xcmsObj = NULL,
filepaths <- xcmsObj@filepaths
filenames <- basename(filepaths)
phenotype <- xcmsObj@phenoData[, 1]
phenotype <- data.frame(sample.names = phenotype, filenames, filepaths)
phenotype <- data.frame(phenotype, filenames, filepaths)
if (mslev == 2) {
phenotype <- phenotype[1:(nrow(phenotype) / 2), ]
}
Expand Down

0 comments on commit 42c8947

Please sign in to comment.