Skip to content

Instantly share code, notes, and snippets.

View lcolladotor's full-sized avatar

Leonardo Collado-Torres lcolladotor

View GitHub Profile
@lcolladotor
lcolladotor / animated_tree.R
Last active December 25, 2024 00:04
Making an animated Christmas tree
## Original code: https://drmowinckels.io/blog/christmas-tree-in-ggplot/
## Original tweet: https://twitter.com/drmowinckels/status/1073261218276798465?s=12
## Other links:
# https://rladies-baltimore.github.io/post/making-holiday-cards-in-r-2018/
# https://twitter.com/fellgernon/status/1062769524917833728
# https://blogs.sas.com/content/iml/2012/12/14/a-fractal-christmas-tree.html
# https://twitter.com/thomasp85/status/811537760783912960
## Link to tweet about this code:
@lcolladotor
lcolladotor / install_log_BiocManager.txt
Created November 30, 2018 19:42
Windows installation problems for GO.db that is needed by clusterProfiler
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
@lcolladotor
lcolladotor / powerpoint_club.Rmd
Created November 30, 2018 18:43
(fixed) PowerPoint presentations with R Markdown - LIBD rstats club meeting 2018-11-30
---
title: "LIBD rstats club"
author: "L. Collado-Torres"
date: "11/30/2018"
output:
powerpoint_presentation:
reference_doc: template.potx
---
```{r setup, include=FALSE}
@lcolladotor
lcolladotor / powerpoint_club.Rmd
Created November 30, 2018 17:35
PowerPoint presentations with R Markdown - LIBD rstats club meeting 2018-11-30
---
title: "LIBD rstats club"
author: "L. Collado-Torres"
date: "11/30/2018"
output:
powerpoint_presentation:
reference_doc: template.potx
---
```{r setup, include=FALSE}
@lcolladotor
lcolladotor / feliz_navidad.R
Created November 14, 2018 17:57
Making a Christmas card for the R-Ladies Baltimore Nov 14 2018 event
## Modified code from https://www.r-bloggers.com/merry-christmas-5/
# http://blogs.sas.com/content/iml/2012/12/14/a-fractal-christmas-tree/
# Each row is a 2×2 linear transformation
# Christmas tree
L <- matrix(
c(0.03, 0, 0 , 0.1,
0.85, 0.00, 0.00, 0.85,
0.8, 0.00, 0.00, 0.8,
0.2, -0.08, 0.15, 0.22,
@lcolladotor
lcolladotor / call.sh
Created October 30, 2018 20:04
Debugging conda and SGE qsub -V for the ATAC seq pipeline by ENCODE-DCC
$ source activate encode-atac-seq-pipeline
$ for i in *.sh; do echo $i; qsub $i; done
test_qsub_no_v.sh
Your job 6225766 ("test_qsub_no_v.sh") has been submitted
test_qsub_v_activate.sh
Your job 6225767 ("test_qsub_v_activate.sh") has been submitted
test_qsub_v.sh
Your job 6225768 ("test_qsub_v.sh") has been submitted
15:51 test_qsub_v $ pwd
/users/lcollado/test_qsub_v
arg_name n_functions default_consistent default_consistent_percent
1 x 163 FALSE 95.7055214723926
2 pattern 1 TRUE 100
3 ... 227 TRUE 100
4 i 8 FALSE 62.5
5 value 5 TRUE 100
6 e1 3 TRUE 100
7 e2 3 TRUE 100
8 a 5 TRUE 100
9 b 5 FALSE 80
---
draft: yes
title: LIBD rstats club remote useR!2018 notes
author: ''
date: '2018-07-13'
slug: libd-rstats-club-remote-user-2018-notes
categories:
- rstats
tags:
- conference
@lcolladotor
lcolladotor / essay.Rmd
Created June 20, 2018 21:56
L. Collado-Torres scilifelab 2017 entry
---
output:
pdf_document
title: "Usable human gene expression data and annotation-agnostic methods"
author: Leonardo Collado-Torres
date: "`r format(Sys.time(), '%B %d, %Y')`"
geometry: margin=1in
fontfamily: mathpazo
fontsize: 11pt
bibliography: essay.bib
@lcolladotor
lcolladotor / post.md.txt
Last active March 8, 2018 06:13
My blogdown archetype (as of 2018-03-08)
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
date = {{ .Date }}
draft = false
# Tags and categories
# For example, use `tags = []` for no tags, or the form `tags = ["A Tag", "Another Tag"]` for one or more tags.
tags = []
categories = []