Skip to content

Commit

Permalink
Use obj instead of apl
Browse files Browse the repository at this point in the history
  • Loading branch information
percyfal committed Mar 23, 2022
1 parent fe76ec5 commit 75b22ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/methods-AlignmentPairsList-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ setMethod("geneBodyCoverage", signature = c("AlignmentPairsList"),
BPPARAM=bpparam)
}
x <- bind_rows(lapply(gbc, data.frame), .id="id")
if (!is.null(names(apl)))
x[["id"]] <- factor(x[["id"]], levels=names(apl))
if (!is.null(names(obj)))
x[["id"]] <- factor(x[["id"]], levels=names(obj))
x
})

Expand Down

0 comments on commit 75b22ee

Please sign in to comment.