Skip to content

Commit

Permalink
manta: bind_rows handles NULL better
Browse files Browse the repository at this point in the history
  • Loading branch information
pdiakumis committed Mar 22, 2024
1 parent 47856a2 commit d77149c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/sv.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d77149c

Please sign in to comment.