Skip to content

Commit

Permalink
Merge pull request #35 from MPUSP/dev
Browse files Browse the repository at this point in the history
fix: minor issues
  • Loading branch information
rabioinf authored Jul 24, 2024
2 parents 5d78ac6 + 8b7b5bb commit 4ab8e6a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
results/**
resources/**
logs/**
test/**
.test/**
.snakemake
.snakemake/**
.vscode/**
4 changes: 2 additions & 2 deletions workflow/notebooks/report.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ draw_guide_target <- function(df, n_examples) {
"Note that genes on the '-' strand are shown as reverse-complement"
)
) +
custom_theme(legend.position = 0) +
custom_theme(legend.position = "none") +
scale_color_manual(values = custom_colors[1:2]) +
theme(axis.text.y = element_blank(), axis.ticks.y = element_blank())
}
Expand Down Expand Up @@ -611,7 +611,7 @@ draw_guide_intergenic <- function(
title = paste0("Guide RNA location per chromosome (max. ", n_examples, "shown)"),
subtitle = "Colored arrows: guide RNAs, gray lines: annotated genes."
) +
custom_theme(legend.position = 0) +
custom_theme(legend.position = "none") +
scale_color_manual(values = custom_colors[1:2]) +
theme(axis.text.y = element_blank(), axis.ticks.y = element_blank())
}
Expand Down
2 changes: 1 addition & 1 deletion workflow/scripts/design_guides.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ suppressPackageStartupMessages({

# CONFIGURATION
# ------------------------------
source("workflow/scripts/utilities.R")
source(paste0(snakemake@scriptdir, "/utilities.R"))
sm_params <- snakemake@params[[1]]
max_cores <- snakemake@params[[2]]
for (param in names(sm_params)) {
Expand Down
2 changes: 1 addition & 1 deletion workflow/scripts/filter_guides.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ suppressPackageStartupMessages({

# CONFIGURATION
# ------------------------------
source("workflow/scripts/utilities.R")
source(paste0(snakemake@scriptdir, "/utilities.R"))
sm_params <- snakemake@params[[1]]
max_cores <- snakemake@params[[2]]
for (param in names(sm_params)) {
Expand Down

0 comments on commit 4ab8e6a

Please sign in to comment.