Skip to content

Commit

Permalink
style: fix CMD check issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pwwang committed Oct 14, 2024
1 parent bcb9304 commit 33d039b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
any::Seurat, any::concaveman, any::gridGraphics, any::ggVennDiagram,
any::clustree, any::ggwordcloud, any::ggalluvial, any::ggpubr,
any::ggforce, any::ggraph, any::ggridges, any::hexbin, any::igraph,
any::scattermore
any::scattermore, any::ggupset
- uses: r-lib/actions/check-r-package@v2

Expand Down
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Suggests:
ggpubr,
ggraph,
ggridges,
ggupset,
ggwordcloud,
ggVennDiagram (>= 1.5.0),
hexbin,
Expand Down
6 changes: 4 additions & 2 deletions R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ NULL
#' pancreas_sub[["SubCellType"]] <- pancreas_sub[["clusters"]]
#' pancreas_sub[["clusters_coarse"]] <- pancreas_sub[["clusters"]] <- NULL
#' pancreas_sub[["Phase"]] <- ifelse(pancreas_sub$S_score > pancreas_sub$G2M_score, "S", "G2M")
#' pancreas_sub[["Phase"]][apply(pancreas_sub[[]][, c("S_score", "G2M_score")], 1, max) < 0, ] <- "G1"
#' pancreas_sub[["Phase", drop = TRUE]] <- factor(pancreas_sub[["Phase", drop = TRUE]], levels = c("G1", "S", "G2M"))
#' pancreas_sub[["Phase"]][
#' apply(pancreas_sub[[]][, c("S_score", "G2M_score")], 1, max) < 0, ] <- "G1"
#' pancreas_sub[["Phase", drop = TRUE]] <- factor(pancreas_sub[["Phase", drop = TRUE]],
#' levels = c("G1", "S", "G2M"))
#' pancreas_sub[["PCA"]] <- pancreas_sub[["X_pca"]]
#' pancreas_sub[["UMAP"]] <- pancreas_sub[["X_umap"]]
#' pancreas_sub[["X_umap"]] <- pancreas_sub[["X_pca"]] <- NULL
Expand Down

0 comments on commit 33d039b

Please sign in to comment.