Skip to content

Commit

Permalink
fix volcano
Browse files Browse the repository at this point in the history
  • Loading branch information
antosalerno committed Sep 25, 2024
1 parent 9e10b35 commit 5f3a40c
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 2 deletions.
Empty file modified N01_GeoMx_Enrich.R
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion S08_CopperJoint.R
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,3 @@ dev.off()




Empty file modified S10_Neutrophils.R
100644 → 100755
Empty file.
Empty file modified session_info.txt
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion supportFunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ plotVolcano <- function(clusters, res=NULL, type = "condition", file= NULL,
drawConnectors = TRUE,
widthConnectors = 0.3,colConnectors = 'gray51', maxoverlapsConnectors = Inf,
caption = paste0('Upregulated = ', nrow(res[res$avg_log2FC > log2FC&res$p_val_adj<= 0.05,]), ' genes',
"\n",'Downregulated = ', nrow(res[res$avg_log2FC < -log2FC &res$p_val_adj<= 0.05,]), ' genes'))+ theme(plot.title = element_text(hjust = 0.5)) + coord_flip()
"\n",'Downregulated = ', nrow(res[res$avg_log2FC < -log2FC &res$p_val_adj<= 0.05,]), ' genes'))+ theme(plot.title = element_text(hjust = 0.5))
ggsave(p, file=paste0("TEPA_plots/",save, "DEA_",sub(" ", "_", cluster),".png"), width = 30, height = 25, units = "cm")
})
}
Expand Down

0 comments on commit 5f3a40c

Please sign in to comment.