This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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") | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ### 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: | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #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 |