image.png

RColorBrewer

  1. netAnalysis_signalingRole_heatmap(
  2. object,
  3. signaling = NULL,
  4. pattern = c("outgoing", "incoming", "all"),
  5. slot.name = "netP",
  6. color.use = NULL,
  7. color.heatmap = "BuGn",#sequential palettes
  8. title = NULL,
  9. width = 10,
  10. height = 8,
  11. font.size = 8,
  12. font.size.title = 10,
  13. cluster.rows = FALSE,
  14. cluster.cols = FALSE
  15. )
  1. netVisual_heatmap(
  2. object,
  3. comparison = c(1, 2),
  4. measure = c("count", "weight"),
  5. signaling = NULL,
  6. slot.name = c("netP", "net"),
  7. color.use = NULL,
  8. color.heatmap = c("#2166ac", "#b2182b"),#指定brewal.pal里的配色
  9. title.name = NULL,
  10. width = NULL,
  11. height = NULL,
  12. font.size = 8,
  13. font.size.title = 10,
  14. cluster.rows = FALSE,
  15. cluster.cols = FALSE,
  16. sources.use = NULL,
  17. targets.use = NULL,
  18. remove.isolate = FALSE,
  19. row.show = NULL,
  20. col.show = NULL
  21. )