From 33802aed8949fe18a65707ec63b62c1f91820a89 Mon Sep 17 00:00:00 2001 From: Lennart Opitz Date: Tue, 31 May 2022 12:27:26 +0200 Subject: [PATCH] fix dictPath --- R/app-countSpacer.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/app-countSpacer.R b/R/app-countSpacer.R index 9a67cbe63..6e01f9e9b 100644 --- a/R/app-countSpacer.R +++ b/R/app-countSpacer.R @@ -12,7 +12,7 @@ ezMethodCountSpacer = function(input=NA, output=NA, param=NA){ sampleName = input$getNames() setwdNew(sampleName) - param[['dictPath']] = list.files(file.path('/srv/GT/databases/GEML/sgRNA_Libs/',param[['dictPath']]), pattern = 'csv', full.names = TRUE) + param[['dictPath']] = list.files(file.path('/srv/GT/databases/GEML/sgRNA_Libs/',param[['dictPath']]), pattern = 'final.csv', full.names = TRUE) dict = ezRead.table(param[['dictPath']], header = FALSE, sep = ',', row.names = NULL) colnames(dict) = c('TargetID', 'Sequence', 'GeneSymbol', 'isControl') dict[['ID']] = paste(dict$TargetID, dict$Sequence, sep = '-')