Skip to content

Commit 58971fb

Browse files
authored
Merge pull request #3157 from vgteam/roc-plot
Make roc plotting script work
2 parents 36e4463 + 2a30d0b commit 58971fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/plot-roc.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if (length(commandArgs(TRUE)) > 3) {
4545
}
4646

4747
# Determine the order of aligners, based on sorting in a dash-separated tag aware manner
48-
aligner.names <- levels(dat$aligner)
48+
aligner.names <- levels(factor(dat$aligner))
4949
name.lists <- aligner.names %>% (function(name) map(name, (function(x) as.list(unlist(strsplit(x, "-"))))))
5050
# Transpose name fragments into a list of vectors for each position, with NAs when tag lists end early
5151
max.parts <- max(sapply(name.lists, length))

0 commit comments

Comments
 (0)