Skip to content

Commit

Permalink
create exception for plot best encoding dim
Browse files Browse the repository at this point in the history
  • Loading branch information
vyepez88 authored Jun 5, 2024
1 parent 9ede114 commit f0ac34f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions drop/modules/aberrant-expression-pipeline/OUTRIDER/Summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,13 @@ if(is.null(colData(ods)$isExternal)) colData(ods)$isExternal <- FALSE
#'
#' ## Visualize
#' ### Encoding dimension
plotEncDimSearch(ods) +
labs(title = dataset_title) +
theme_cowplot() +
background_grid() +
scale_color_brewer(palette="Dark2")

if(!is.null(metadata(ods)$encDimTable)){
plotEncDimSearch(ods) +
labs(title = dataset_title) +
theme_cowplot() +
background_grid() +
scale_color_brewer(palette="Dark2")
}

#' ### Aberrantly expressed genes per sample
plotAberrantPerSample(ods, main = dataset_title,
Expand Down

0 comments on commit f0ac34f

Please sign in to comment.