Fix some package issues

This commit is contained in:
Elias Projahn 2021-11-06 13:22:57 +01:00
parent 28f9834984
commit 6d9511fa2e
6 changed files with 41 additions and 19 deletions

View file

@ -41,7 +41,12 @@ plot_scores <- function(ranking, gene_sets = NULL, labels = NULL) {
}
# Include gene information which will be used for labeling
gene_set_data <- merge(gene_set_data, genes, by.x = "gene", by.y = "id")
gene_set_data <- merge(
gene_set_data,
geposan::genes,
by.x = "gene",
by.y = "id"
)
plot <- plot |> plotly::add_trace(
data = gene_set_data,