Guest User

Untitled

a guest
Dec 3rd, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. localuserpassword <- "CrowdVision2018"
  2. tsadev <- dbConnect(RMariaDB::MariaDB(),user="tsadev",
  3. password=localuserpassword, dbname='tsadev',host='tsadev.ci71sbjd5rvy.eu-
  4. west-1.rds.amazonaws.com')
  5.  
  6. table <- tbl(tsadev, sql("SELECT 1,2,3,4,5,6,7,8,9,10,11,12 FROM heatmap "))
  7.  
  8. ##### HEATMAP
  9.  
  10.  
  11. my_palette <- colorRampPalette(c("black","grey"))
  12.  
  13. heatmap.2(data.matrix(table), dendrogram='none', Rowv=TRUE, Colv=TRUE,
  14. main="", trace="none", col=my_palette, labRow = TRUE, labCol = FALSE,
  15. key=FALSE, symkey=FALSE)
Add Comment
Please, Sign In to add comment