Skip to content

Commit

Permalink
Merge remote-tracking branch 'campbio/devel' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Campbell committed Apr 16, 2024
2 parents eac9a46 + 02d0ce2 commit 776e506
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 37 deletions.
46 changes: 10 additions & 36 deletions inst/rmarkdown/CeldaCG_PlotResults.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -199,42 +199,16 @@ for (i in seq_len(L)) {
altExpName = altExpName,
modules = i
)
# p2 <- moduleHeatmap(
# sce,
# featureModule = i,
# topCells = NULL,
# displayName = displayName,
# moduleLabel = "All cells",
# useRaster = TRUE
# )
# p3 <- moduleHeatmap(
# sce,
# featureModule = i,
# topCells = 100,
# displayName = displayName,
# moduleLabel = "Top 100 cells",
# useRaster = TRUE
# )
fig <- multi_panel_figure(rows = 2,
columns = 2,
figure_name = paste0("fig", i))
fig <- fill_panel(fig,
p1,
row = 1,
column = 1:2,
label = "")
fig <- fill_panel(fig,
p2[[i]],
row = 2,
column = 1,
label = "")
fig <- fill_panel(fig,
p3[[i]],
row = 2,
column = 2,
label = "")
plts <- list(p1,p2[[i]],p3[[i]])
fig <- gridExtra::marrangeGrob(plts,
nrow = 2,
ncol = 2,
layout_matrix = matrix(c(1,1,2,3),
nrow = 2,
ncol = 2,
byrow = TRUE),
top = NA)
fig.list[[i]] <- fig
}
for (i in seq_len(L)) {
Expand Down
2 changes: 1 addition & 1 deletion inst/rmarkdown/CeldaCG_Run.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ varFilter <-
if (varFilter) {
temp.sce <- sce
temp.sce <-
seuratFindHVG(inSCE = temp.sce, useAssay = useAssay)
runSeuratFindHVG(inSCE = temp.sce, useAssay = useAssay)
o <-
head(
order(
Expand Down

0 comments on commit 776e506

Please sign in to comment.