Skip to content

Commit

Permalink
Fixing CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
enblacar committed Feb 6, 2024
1 parent 6d0aee7 commit caf9a48
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 238 deletions.
32 changes: 16 additions & 16 deletions tests/testthat/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,22 @@ if (base::isFALSE(dep_check[["do_LigandReceptorPlot"]])){
liana_output <- readRDS(system.file("extdata/liana_output_example.rds", package = "SCpubr"))
}

if (base::isFALSE(dep_check[["do_DimPlot"]]) &
base::isFALSE(dep_check[["do_CorrelationPlot"]]) &
base::isFALSE(dep_check[["do_ChordDiagramPlot"]]) &
isTRUE(requireNamespace(pkg, quietly = TRUE)) &
base::isFALSE(dep_check[["save_Plot"]])){
p <- SCpubr::do_DimPlot(sample)
data <- data.frame("A" = stats::runif(n = 10),
"B" = stats::runif(n = 10),
"C" = stats::runif(n = 10),
"D" = stats::runif(n = 10))
data <- as.matrix(data)
p.pheatmap <- pheatmap::pheatmap(data, cluster_rows = FALSE, cluster_cols = FALSE)
p.heatmap <- ComplexHeatmap::Heatmap(data, cluster_rows = FALSE, cluster_columns = FALSE)
p.chord <- SCpubr::do_ChordDiagramPlot(sample = sample, from = "seurat_clusters", to = "orig.ident")
figure_path <- getwd()
}
#if (base::isFALSE(dep_check[["do_DimPlot"]]) &
# base::isFALSE(dep_check[["do_CorrelationPlot"]]) &
# base::isFALSE(dep_check[["do_ChordDiagramPlot"]]) &
# isTRUE(requireNamespace(pkg, quietly = TRUE)) &
# base::isFALSE(dep_check[["save_Plot"]])){
#p <- SCpubr::do_DimPlot(sample)
#data <- data.frame("A" = stats::runif(n = 10),
# "B" = stats::runif(n = 10),
# "C" = stats::runif(n = 10),
# "D" = stats::runif(n = 10))
#data <- as.matrix(data)
#p.pheatmap <- pheatmap::pheatmap(data, cluster_rows = FALSE, cluster_cols = FALSE)
#p.heatmap <- ComplexHeatmap::Heatmap(data, cluster_rows = FALSE, cluster_columns = FALSE)
#p.chord <- SCpubr::do_ChordDiagramPlot(sample = sample, from = "seurat_clusters", to = "orig.ident")
#figure_path <- getwd()
#}


#monocle_sample <- sample
Expand Down
222 changes: 0 additions & 222 deletions tests/testthat/test-save_Plot.R

This file was deleted.

0 comments on commit caf9a48

Please sign in to comment.