From ca17ffbd83aeed54a5136e4d4a3313c299a56b45 Mon Sep 17 00:00:00 2001 From: Kamiel <haege001@leunissen.bioinformatics.nl> Date: Wed, 4 Dec 2024 12:41:46 +0100 Subject: [PATCH] made if statement working () --- SpicyBytesStats.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpicyBytesStats.R b/SpicyBytesStats.R index c02102d..7e894ac 100644 --- a/SpicyBytesStats.R +++ b/SpicyBytesStats.R @@ -27,7 +27,7 @@ kal_dirs = sapply(sample_ids, function(id) file.path(kallisto_dir, id)) ## design1.txt has to be created, should contain 2 columns sample and condition -if mock == "Abio_mock" { +if (mock == "Abio_mock") { s2c = read.table(file.path(base_dir,"/design_abiotic.txt"), header=TRUE, stringsAsFactors=FALSE) } else { s2c = read.table(file.path(base_dir,"/design_kallisto_result_boot.txt"), header=TRUE, stringsAsFactors=FALSE) -- GitLab