From d77149c0ea8b0c8a3b7f5c6958243b6bba537f6a Mon Sep 17 00:00:00 2001 From: pdiakumis Date: Fri, 22 Mar 2024 18:09:14 +1100 Subject: [PATCH] manta: bind_rows handles NULL better --- R/sv.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/sv.R b/R/sv.R index 44cb7554..88536814 100644 --- a/R/sv.R +++ b/R/sv.R @@ -23,7 +23,7 @@ manta_process <- function(manta_tsv_obj) { fus <- fus |> tidyr::separate_longer_delim(cols = "Genes", delim = "&") } else { - fus <- empty_tbl(cnames = colnames(melted)) + fus <- NULL # bind_rows(NULL, x) returns x } melted <- dplyr::bind_rows(fus, nofus)