From 31bb74bf1fe2bc8f42538e13fd2fad031bc25354 Mon Sep 17 00:00:00 2001 From: bielow Date: Fri, 11 Dec 2020 15:21:58 +0100 Subject: [PATCH] fixes #91 --- R/qcMetric_MSMSScans.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/qcMetric_MSMSScans.R b/R/qcMetric_MSMSScans.R index 7a999ed..dea2cbb 100644 --- a/R/qcMetric_MSMSScans.R +++ b/R/qcMetric_MSMSScans.R @@ -103,7 +103,7 @@ Heatmap score [MS2 Scans: Intensity]: Linear score (0-100%) between 3 dd.all = merge(log.dd.tic, log.dd.bpi, by='fc.raw.file') ## for scoring... - dd.ratio = dd[,list(ratio=median(total.ion.current/base.peak.intensity)), by ='fc.raw.file'] + dd.ratio = dd[,list(ratio=median(total.ion.current/base.peak.intensity, na.rm=TRUE)), by ='fc.raw.file'] dd.ratio