Skip to content

Commit

Permalink
define median as NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
lahuuki committed Apr 25, 2024
1 parent 30d8fd6 commit 97db08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot_gene_express.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ plot_gene_express <- function(sce,

stopifnot(assay_name %in% SummarizedExperiment::assayNames(sce))

value <- NULL
value <- median <- NULL

cat_df <- as.data.frame(colData(sce))[, cat, drop = FALSE]
expression_long <- reshape2::melt(as.matrix(SummarizedExperiment::assays(sce)[[assay_name]][genes, , drop = FALSE]))
Expand Down

0 comments on commit 97db08f

Please sign in to comment.