Skip to content

Instantly share code, notes, and snippets.

@rgejman
rgejman / gist:ddf8fe65a17298c4ff794f25059065d6
Last active April 14, 2017 11:59
Install commonly used R packages
options(repos=structure(c(CRAN="http://cran.rstudio.com/")))
source("https://bioconductor.org/biocLite.R")
biocLite()
biocLite("org.Hs.eg.db")
biocLite("cummeRbund")
install.packages("tidyverse")
### Keybase proof
I hereby claim:
* I am rgejman on github.
* I am rgejman (https://keybase.io/rgejman) on keybase.
* I have a public key whose fingerprint is 7867 9A0C 376D 8246 72FC 302F 983C 962E 1B16 8A87
To claim this, I am signing this object:
#Adapted from http://www.bioperl.org/wiki/Getting_all_k-mer_combinations_of_residues
#Generate all k-mers in Ruby. Change the letters and/or length to customize for your purposed.
LETTERS = ["A", "C", "G", "T"]
LENGTH = 6
words = LETTERS
for i in 0...(LENGTH-1)
newwords = []
for w in words