Skip to content

Instantly share code, notes, and snippets.

View IainWilson-'s full-sized avatar

Iain Wilson IainWilson-

View GitHub Profile
@z3tt
z3tt / github.R
Last active November 6, 2024 02:59
Configure GitHub for Rstudio
#### 1. Sign up at GitHub.com ################################################
## If you do not have a GitHub account, sign up here:
## https://github.com/join
# ----------------------------------------------------------------------------
#### 2. Install git ##########################################################
## If you do not have git installed, please do so:
@nassimhaddad
nassimhaddad / server.R
Last active March 19, 2020 18:08
automatic resize of rChart objects in shiny
require(rCharts)
require(shiny)
smpl<-data.frame(gene = c("gene1","gene2","gene3","gene4","gene5",
"gene6","gene7","gene8","gene9","gene10"),
direction = c("up","down","up","up","up",
"up","up","down","down","down"),
type = c("norm","norm","tum","tum","norm",
"tum","tum","norm","tum","tum"),
foldChange = c(1.3, 0.4, 1.3, 3.0, 1.6,
2.9, 1.3, 0.5, 0.5, 0.6))