Skip to content

Instantly share code, notes, and snippets.

@nsheff
Last active August 29, 2015 14:21
Show Gist options
  • Select an option

  • Save nsheff/a51e2e4cb3d3f25806bc to your computer and use it in GitHub Desktop.

Select an option

Save nsheff/a51e2e4cb3d3f25806bc to your computer and use it in GitHub Desktop.
``` {r}
library("LOLA")
dbPath = system.file("extdata", "hg19", package="LOLA")
regionDB = loadRegionDB(dbPath)
locResults = runLOLA(userSet, userUniverse, regionDB, cores=1)
locResults[order(support, decreasing=TRUE),]
writeCombinedEnrichment(locResults, outFolder= "lolaResults");
```
@afrendeiro
Copy link

Hi! Newlines are missing and name should be LOLA_example.R to display properly

@nsheff
Copy link
Author

nsheff commented Aug 20, 2015

Yeah, yeah... I was just testing. they should also highlight Rmd files :)

@nsheff
Copy link
Author

nsheff commented Aug 20, 2015

Actually it does work if I include code backticks... see update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment