Skip to content

Commit

Permalink
more indentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias authored and lecorguille committed Sep 11, 2023
1 parent 489cfca commit 2cb157b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions tools/xcms/faahKO_4datasets.r
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ cdfs <- dir(system.file("cdf", package = "faahKO"), full.names = TRUE, recursive
cdfs <- cdfs[c(1, 2, 7, 8)]

pd <- data.frame(
sample_name <- sub(basename(cdfs),
pattern = ".CDF",
replacement = "", fixed = TRUE),
sample_group = c(rep("KO", 2), rep("WT", 2)),
stringsAsFactors = FALSE)
sample_name <- sub(
basename(cdfs),
pattern = ".CDF",
replacement = "", fixed = TRUE
),
sample_group = c(rep("KO", 2), rep("WT", 2)),
stringsAsFactors = FALSE
)

cwp <- CentWaveParam()

Expand Down
2 changes: 1 addition & 1 deletion tools/xcms/xcms_fillpeaks.r
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ register(SerialParam())
xdata <- fillChromPeaks(xdata, param = fillChromPeaksParam)

if (exists("intval")) {
getPeaklistW4M(xdata, intval, convertRTMinute, numDigitsMZ, numDigitsRT, naTOzero, "variableMetadata.tsv", "dataMatrix.tsv")
getPeaklistW4M(xdata, intval, convertRTMinute, numDigitsMZ, numDigitsRT, naTOzero, "variableMetadata.tsv", "dataMatrix.tsv")
}

cat("\n\n")
Expand Down

0 comments on commit 2cb157b

Please sign in to comment.