Skip to content

Commit

Permalink
Update utils.R
Browse files Browse the repository at this point in the history
  • Loading branch information
zktuong committed Nov 1, 2023
1 parent 8160f96 commit eaf44ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ DEFAULT_COL_START <- 12
costimulation = costimulatory,
coinhibition = coinhibitory
)
query_group <- lapply(query_group, function(x) row.names(data[data$interacting_pair %in% x, ]))
if (!is.null(custom_gene_family)) {
cgf <- as.list(custom_gene_family)
cgf <- lapply(cgf, function(x) {
Expand All @@ -85,7 +86,6 @@ DEFAULT_COL_START <- 12
})
query_group <- c(query_group, cgf)
}
query_group <- lapply(query_group, function(x) row.names(data[data$interacting_pair %in% x, ]))
query <- NULL
} else if (is.null(gene_family) & !is.null(genes)) {
query_group <- NULL
Expand Down

0 comments on commit eaf44ad

Please sign in to comment.