Skip to content

Instantly share code, notes, and snippets.

View fboehm's full-sized avatar

Frederick Boehm fboehm

View GitHub Profile
@fboehm
fboehm / server.R
Last active August 29, 2015 14:07 — forked from jknowles/server.R
library(shiny)
shinyServer(function(input,output){
output$distPlot<-reactivePlot(function(){
dist<-rnorm(input$obs)
p<-qplot(dist,binwidth=0.1)+geom_vline(xintercept=mean(dist))+theme_dpi()
p<-p+coord_cartesian(xlim=c(-4,4))+geom_vline(xintercept=median(dist),color=I("red"))
print(p)
})
@fboehm
fboehm / shiny-ideas.md
Last active August 29, 2015 14:07
ideas for shiny apps

todo

  • write shiny app for querying twitter
  • write shiny app (or tutorial) for getting api access for a new user.

Ideas

MLE Binomial Shiny App
Base R code created by Gail Potter
Shiny app files created by Gail Potter
@fboehm
fboehm / to-read.md
Last active August 29, 2015 14:08
what i will read

stat stuff

  • yuan's 2014 jasa - graphical models
  • mcmc resources
    • reversible jump mcmc
  • normalized random measures with independent increments; Bayesian non-parametrics; extending the dirichlet process

math stuff

@fboehm
fboehm / springer-free-maths-books.md
Created December 29, 2015 01:28 — forked from bishboria/springer-free-maths-books.md
Springer have made a bunch of maths books available for free, here are the direct links
@fboehm
fboehm / word-character-count-Rstudio.md
Last active March 4, 2016 00:28 — forked from Pakillo/word-character-count-Rstudio.md
Count words and characters in Rstudio

As far as I know Rstudio does not count words or characters at the moment, which would be useful particularly when writing Rmarkdown.

This is a quick shortcut using word_count and character_count functions from qdap package. See below for two wrapper functions that simplify their use.

library("qdap")

Just select and copy the text to the clipboard and then run in the console:

@fboehm
fboehm / vb-reading.md
Last active March 8, 2016 16:09
reading list for variational bayes

Please explain your innovative research, project, or idea

Cancers are genetically heterogeneous. Current sampling methods often fail to account for tumor heterogeneity. Failng to account for heterogeneity may contribute to inadequate therapeutic decisions and treatment failures.

Why should everyone know about your idea? How will it reach beyond your work & benefit the community?

Tumor heterogeneity has far-reaching implications in management of cancer cases. By characterizing tumor heterogeneity within a single patient's cancer, we can increase treatment accuracy and effectiveness.

@fboehm
fboehm / writing-time.md
Last active August 29, 2016 17:46
Records of how much time I spend writing each day

29 August 2016: 20' on prelim manuscript.