From 0d997be184fd2571b5ef6fa3035dce59ec54cbc4 Mon Sep 17 00:00:00 2001 From: Florent Chuffart Date: Thu, 3 Sep 2020 17:21:30 +0200 Subject: [PATCH] Update ChIPseqSpikeInFree.R xlimMaxCPMW="auto" produces a cast of MAX_CPMW into a character and an error in the definition of xlim. invisible(result) produce an error because result does not exists. --- R/ChIPseqSpikeInFree.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/ChIPseqSpikeInFree.R b/R/ChIPseqSpikeInFree.R index 329002b..f2f90ff 100644 --- a/R/ChIPseqSpikeInFree.R +++ b/R/ChIPseqSpikeInFree.R @@ -996,10 +996,10 @@ ChIPseqSpikeInFree <- function(bamFiles, chromFile = "hg19", cat("\nstep4. calculating scaling factors...") SF <- CalculateSF(data = parsedDF, metaFile = meta, minFirstTurn = "auto", maxLastTurn=maxLastTurn, cutoff_QC=cutoff_QC) cat("\nstep5. ploting distribution curves and bars ...") - PlotDistr(parsedDF, SF, prefix, xlimMaxCPMW="auto" ) + PlotDistr(parsedDF, SF, prefix, xlimMaxCPMW=NULL ) cat("\t[--done--]\n") cat("\nstep6. ploting scaling factors...") BoxplotSF(SF, prefix) cat("\n\t[--done--]\n") - invisible(result) + # invisible(result) }