Skip to content

Commit

Permalink
Refactor dplyr select and setNames in deseq2.qmd.jinja to use sample_…
Browse files Browse the repository at this point in the history
…info.sample_name instead of sample_info.sample
  • Loading branch information
alsmith151 committed Apr 21, 2024
1 parent a1c23e4 commit 2fa2a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seqnado/workflow/config/deseq2.qmd.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ if (has_spikein) {

# Output size factors
size_factors <- colData(dds)[, "sizeFactor"]
names(size_factors) <- colData(dds)[, "sample"]
names(size_factors) <- colData(dds)[, "sample_name"]
sf <- toJSON(size_factors)
writeLines(sf, params$size_factors_out)

Expand Down

0 comments on commit 2fa2a30

Please sign in to comment.