From 5f341056e5d0260f8c643a444deb1cff50b0f4e7 Mon Sep 17 00:00:00 2001 From: SimHolz <61243842+SimHolz@users.noreply.github.com> Date: Fri, 3 Sep 2021 11:45:48 +0200 Subject: [PATCH] corrected chrLen name filter --- source/plot2DO_data.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/plot2DO_data.R b/source/plot2DO_data.R index 529bc61..dee9d2a 100644 --- a/source/plot2DO_data.R +++ b/source/plot2DO_data.R @@ -189,7 +189,7 @@ LoadGenomeAnnotation_v2 <- function(inputFilename, genome){ configFilePath <- file.path(configBasePath, "annotation_config.yaml") config <- yaml.load_file(configFilePath) chrFilter <- config$annotations[[genome]]$chromosome_size$filter - chrLen <- chrLen[chrFilter] + chrLen <- chrLen[names(chrLen) %in% chrFilter] annotations <- GetAnnotations(genome)