Skip to content

Commit

Permalink
Merge pull request #730 from AlexsLemonade/allyhawkins/v0.8.0-bug-hun…
Browse files Browse the repository at this point in the history
…ting

Fix bugs in v0.8.0
  • Loading branch information
allyhawkins committed Mar 15, 2024
2 parents 246c3d7 + ea2edcb commit 8bef82d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bin/generate_unfiltered_sce.R
Expand Up @@ -200,7 +200,7 @@ sample_type <- sample_metadata_df |>
is_xenograft ~ "patient-derived xenograft",
is_cell_line ~ "cell line",
# if neither column was provided, note that
is.na(is_xenograft) && is.na(is_cell_line) ~ "Not provided",
is.na(is_xenograft) & is.na(is_cell_line) ~ "Not provided",
.default = "patient tissue"
)
) |>
Expand Down
2 changes: 1 addition & 1 deletion modules/af-rna.nf
Expand Up @@ -56,7 +56,7 @@ process alevin_rad {
process fry_quant_rna {
container params.ALEVINFRY_CONTAINER
label 'cpus_8'
label 'mem_8'
label 'mem_16'
tag "${meta.run_id}-rna"
publishDir "${params.checkpoints_dir}/alevinfry/${meta.library_id}", mode: 'copy', enabled: params.publish_fry_outs

Expand Down
2 changes: 1 addition & 1 deletion modules/qc-report.nf
Expand Up @@ -3,7 +3,7 @@

process sce_qc_report {
container params.SCPCATOOLS_CONTAINER
label 'mem_8'
label 'mem_16'
tag "${meta.library_id}"
publishDir "${params.results_dir}/${meta.project_id}/${meta.sample_id}", mode: 'copy'
input:
Expand Down
9 changes: 4 additions & 5 deletions templates/qc_report/main_qc_report.rmd
Expand Up @@ -526,13 +526,12 @@ if (skip_miQC) {
miQC_plot <- miQC::plotMetrics(filtered_sce)
} else {
miQC_plot <- miQC::plotModel(filtered_sce, model = miQC_model)
# set line thickness
line_aes <- list(linewidth = 1, alpha = 0.8)
miQC_plot$layers[[2]]$aes_params <- line_aes
miQC_plot$layers[[3]]$aes_params <- line_aes
}
# set line thickness
line_aes <- list(linewidth = 1, alpha = 0.8)
miQC_plot$layers[[2]]$aes_params <- line_aes
miQC_plot$layers[[3]]$aes_params <- line_aes
miQC_plot +
coord_cartesian(ylim = c(0, 100)) +
scale_x_continuous(labels = scales::label_number(accuracy = 1)) +
Expand Down

0 comments on commit 8bef82d

Please sign in to comment.