Skip to content

Commit

Permalink
use AnnotationDbi::select instead of select
Browse files Browse the repository at this point in the history
Other packages also define a function called select

dplyr
MASS
AnnotationDbi

It's necessary to specify the correct function.
  • Loading branch information
slowkow committed Jun 3, 2017
1 parent 3281601 commit 0d608a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/functions.R
Expand Up @@ -93,7 +93,7 @@ clean.gos <- function(go.env, min.size = 5, max.size = 5000, annot = FALSE) {
go.env <- go.env[size > min.size & size < max.size]
# If we have GO.db installed, then add the term to each GO code.
if (annot && "GO.db" %in% installed.packages()[,1]) {
desc <- select(
desc <- AnnotationDbi::select(
GO.db,
keys = names(go.env),
columns = c("TERM"),
Expand Down

0 comments on commit 0d608a0

Please sign in to comment.