Skip to content

Commit

Permalink
saving time on the examples by avoiding unnecessary full run of `DESe…
Browse files Browse the repository at this point in the history
…q()` if not strictly necessary
  • Loading branch information
federicomarini committed Apr 22, 2024
1 parent 0f0e553 commit 494d6bc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions R/gene_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#' rownames(dds_macrophage) <- substr(rownames(dds_macrophage), 1, 15)
#' keep <- rowSums(counts(dds_macrophage) >= 10) >= 6
#' dds_macrophage <- dds_macrophage[keep, ]
#' dds_macrophage <- DESeq(dds_macrophage)
#' # dds_macrophage <- DESeq(dds_macrophage)
#'
#' # annotation object
#' anno_df <- data.frame(
Expand Down Expand Up @@ -249,7 +249,7 @@ gene_plot <- function(de_container,
#' rownames(dds_macrophage) <- substr(rownames(dds_macrophage), 1, 15)
#' keep <- rowSums(counts(dds_macrophage) >= 10) >= 6
#' dds_macrophage <- dds_macrophage[keep, ]
#' dds_macrophage <- DESeq(dds_macrophage)
#' # dds_macrophage <- DESeq(dds_macrophage)
#'
#' df_exp <- get_expr_values(
#' de_container = dds_macrophage,
Expand Down
2 changes: 1 addition & 1 deletion R/mosdef_check_inputs.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ mosdef_res_check <- function(res_de,
#' rownames(dds_macrophage) <- substr(rownames(dds_macrophage), 1, 15)
#' keep <- rowSums(counts(dds_macrophage) >= 10) >= 6
#' dds_macrophage <- dds_macrophage[keep, ]
#' dds_macrophage <- DESeq(dds_macrophage)
#' # dds_macrophage <- DESeq(dds_macrophage)
#'
#' mosdef_de_container_check(dds_macrophage)
mosdef_de_container_check <- function(de_container,
Expand Down
2 changes: 1 addition & 1 deletion man/gene_plot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/get_expr_values.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mosdef_de_container_check.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 494d6bc

Please sign in to comment.