-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.Rmd
433 lines (320 loc) · 11.3 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
---
title: "Leonardo Collado-Torres's CV"
author: Leonardo Collado-Torres
date: "`r Sys.Date()`"
output:
pagedown::html_resume:
css: ['nstrayer_cv/css/styles.css', 'resume']
# set it to true for a self-contained HTML page but it'll take longer to render
self_contained: true
---
```{r 'setup', include=FALSE}
knitr::opts_chunk$set(
results='asis',
echo = FALSE
)
library(glue)
library(tidyverse)
# ======================================================================
# These variables determine how the the data is loaded and how the exports are
# done.
# Is data stored in google sheets? If no data will be gather from the csvs/
# folder in project
using_googlesheets <- TRUE
# Just the copied URL from the sheet
positions_sheet_loc <- "https://docs.google.com/spreadsheets/d/1fPY9wUeRcHWu5qijE4sZ8Xp6cGqasgdDNBJndmM3fBQ"
# Is this sheet available for anyone to read? If you're using a private sheet
# set this to false and go to gather_data.R and run the data loading manually
# once to cache authentication
sheet_is_publicly_readable <- TRUE
# Is the goal of this knit to build a document that is exported to PDF? If so
# set this to true to have links turned into footnotes at the end of the
# document
PDF_EXPORT <- FALSE
CV_PDF_LOC <- "http://lcolladotor.github.io/cv/en_CV_lcollado.pdf"
CV_HTML_LOC <- "http://lcolladotor.github.io/cv"
# A global (gasp) variable that holds all the links that were inserted for
# placement at the end
links <- c()
# ======================================================================
# Now we source two external scripts. One contains functions for building the
# text output and the other loads up our data from either googlesheets or csvs
# Functions for building sections from CSV data
source('nstrayer_cv/parsing_functions.R')
# Load data for CV/Resume
source('nstrayer_cv/gather_data.R')
```
```{r 'fix_dots_pdf'}
# When in export mode the little dots are unaligned, so fix that.
if(PDF_EXPORT){
cat("
<style>
:root{
--decorator-outer-offset-left: -6.5px;
}
</style>")
}
```
Aside
================================================================================
![avatar](https://lcolladotor.github.io/authors/admin/avatar_hu61670ae1305c5c407abf5eedc95c7971_127149_270x270_fill_q75_lanczos_center.JPG){width=100%}
```{r 'fix_dots_pdf_2'}
# When in export mode the little dots are unaligned, so fix that.
if(PDF_EXPORT){
glue("View this CV online with links at _{CV_HTML_LOC}_")
} else {
glue("[<i class='fas fa-download'></i> Download a PDF of this CV]({CV_PDF_LOC})")
}
```
Contact {#contact}
--------------------------------------------------------------------------------
```{r 'contact_info'}
contact_info %>%
glue_data("- <i class='{iconpack} fa-{icon}'></i> {contact}")
```
Language Skills {#skills}
--------------------------------------------------------------------------------
```{r 'skill_bars'}
build_skill_bars(skills)
```
Disclaimer {#disclaimer}
--------------------------------------------------------------------------------
Made with the R package [**pagedown**](https://github.com/rstudio/pagedown). The source code is available at [lcolladotor/cv](https://github.com/lcolladotor/cv) and is powered by [nstrayer/cv](https://github.com/nstrayer/cv).
Last updated on `r Sys.Date()`.
Main
================================================================================
Leonardo Collado-Torres {#title}
--------------------------------------------------------------------------------
```{r 'intro'}
print_text_block(text_blocks, 'intro')
```
Table of Contents {#toc}
--------------------------------------------------------------------------------
1. [Education](#education)
1. [Research Experience](#research)
1. [Industry Experience](#industry)
1. [Funding Secured as (co-)PI](#grants)
1. [Honors and Awards](#honors)
1. [Publications](#publications)
1. [Software](#software)
1. [Leadership and Service](#leadership)
1. [Mentoring Experience](#mentoring)
1. [Teaching Experience](#teaching)
1. [Courses, Meetings, Talks, and Posters ](#courses)
1. [Languages](#languages)
Education {#education data-icon=graduation-cap data-concise=true}
--------------------------------------------------------------------------------
```{r 'education'}
print_section(position_data, 'education')
```
::: aside
[Table of Contents](#toc)
:::
<br>
<br>
<br>
Research Experience {#research data-icon=laptop}
--------------------------------------------------------------------------------
```{r 'work_research'}
print_section(position_data, 'research_positions')
```
::: aside
[Table of Contents](#toc)
:::
<br>
<br>
<br>
Industry Experience {#industry data-icon=suitcase}
--------------------------------------------------------------------------------
::: aside
```{r 'work_industry_intro'}
print_text_block(text_blocks, 'industy_experience_aside')
```
:::
```{r 'work_industry'}
print_section(position_data, 'industry_positions')
```
<br>
<br>
<br>
::: aside
[Table of Contents](#toc)
:::
Funding Secured as (co-)PI {#grants data-icon=money-bill-wave}
--------------------------------------------------------------------------------
```{r 'funding'}
print_section(position_data, 'grants')
```
::: aside
[Table of Contents](#toc)
:::
<br>
<br>
<br>
Honors and Awards {#honors data-icon=medal}
--------------------------------------------------------------------------------
```{r 'honors'}
print_section(position_data, 'honors')
```
::: aside
[Table of Contents](#toc)
:::
<br>
<br>
<br>
Publications {#publications data-icon=book}
--------------------------------------------------------------------------------
:::aside
$*$ indicates equal contribution, $\dagger$ indicates corresponding author
:::
```{r 'pubs'}
position_data$description_1 <-
gsub(
'Collado-Torres L',
'__Collado-Torres L__',
gsub(
'L Collado-Torres',
'__L Collado-Torres__',
gsub(
'Leonardo Collado-Torres',
'__Leonardo Collado-Torres__',
position_data$description_1
)
)
)
print_section(position_data, 'pubs')
```
::: aside
[Table of Contents](#toc)
:::
<br>
<br>
<br>
Software {#software data-icon=laptop}
--------------------------------------------------------------------------------
:::aside
* __all_purpose__: R, Ranked 311/37,473 (top 0.83%) in the US and 1,132/356,811 (top 0.32%) worldwide by [Star Dev](https://stardev.io/developers/lcolladotor) as of May 9th, 2023. Does not take into account contributions at GitHub organizations.
* __statistics__: Stata
* __scripting__: bash
* __markup__: LaTeX, markdown
* __OS__: Linux
* __cluster queue__: Son of Grid Engine
:::
```{r 'getDownloads_fun', echo = FALSE}
getDownloads <- function(pkg, type = "software") {
if(type == "experiment") {
url <- paste0(
'https://bioconductor.org/packages/stats/data-experiment/',
pkg, '/', pkg, '_stats.tab'
)
} else if (type == "annotation") {
url <- paste0(
'https://bioconductor.org/packages/stats/data-annotation/',
pkg, '/', pkg, '_stats.tab'
)
} else {
url <- paste0(
'https://bioconductor.org/packages/stats/bioc/',
pkg, '/', pkg, '_stats.tab'
)
}
info <- tryCatch(
suppressWarnings(read.table(url, header = TRUE)),
error = function(e) {
return(data.frame(
Nb_of_downloads = NA,
'Month' = 'all'
))
}
)
res <- sum(info$Nb_of_downloads[info$Month == 'all'])
## In case the download stats are currently unavailable
if(is.na(res)) res <- paste0('(Not Available on ', Sys.Date(), ')')
return(res)
}
```
### Bioconductor: author role
[recount3](http://bioconductor.org/packages/recount3): Explore and download data from the recount3 project -- `r getDownloads('recount3')` downloads. [biocthis](http://bioconductor.org/packages/biocthis): Automate package and project setup for Bioconductor packages -- `r getDownloads('biocthis')` downloads. [megadepth](http://bioconductor.org/packages/megadepth): BigWig and BAM related utilities -- `r getDownloads('megadepth')` downloads. [spatialLIBD](http://bioconductor.org/packages/LIBD): LIBD Visium spatial transcriptomics human pilot data inspector -- `r getDownloads('spatialLIBD', type = "experiment")` downloads. [GenomicState](http://bioconductor.org/packages/GenomicState): data for derfinder analyses -- `r getDownloads('GenomicState', type = "annotation")` downloads. [recount](http://bioconductor.org/packages/recount): Explore and download data from the recount2 project -- `r getDownloads('recount')` downloads. [derfinder](http://bioconductor.org/packages/derfinder): Annotation-agnostic differential expression analysis of RNA-seq data at base-pair resolution via the DER Finder approach -- `r getDownloads('derfinder')` downloads. [derfinderPlot](http://bioconductor.org/packages/derfinderPlot): plotting functions for derfinder results -- `r getDownloads('derfinderPlot')` downloads. [regionReport](http://bioconductor.org/packages/regionReport): Generate HTML or PDF reports for a set of genomic regions or DESeq2/edgeR results -- `r getDownloads('regionReport')` downloads. [derfinderHelper](http://bioconductor.org/packages/derfinderHelper): helper functions for derfinder package -- `r getDownloads('derfinderHelper')` downloads. [derfinderData](http://bioconductor.org/packages/derfinderData): data for derfinder examples -- `r getDownloads('derfinderData', type = "experiment")` downloads.
N/A
2014 - 2021
```{r 'software'}
print_section(position_data, 'software')
```
::: aside
[Table of Contents](#toc)
:::
<br>
<br>
<br>
Leadership and Service {#leadership data-icon=book}
--------------------------------------------------------------------------------
```{r 'service'}
print_section(position_data, 'service')
```
::: aside
[Table of Contents](#toc)
:::
<br>
<br>
<br>
Mentoring Experience {#mentoring data-icon=chalkboard-teacher}
--------------------------------------------------------------------------------
```{r 'mentoring'}
print_section(position_data, 'mentoring')
```
::: aside
[Table of Contents](#toc)
:::
<br>
<br>
<br>
Teaching Experience {#teaching data-icon=chalkboard-teacher}
--------------------------------------------------------------------------------
::: aside
```{r 'teaching_aside'}
print_text_block(text_blocks, 'teaching_experience_aside')
```
:::
```{r 'teaching'}
print_section(position_data, 'teaching')
```
::: aside
[Table of Contents](#toc)
:::
<br>
<br>
<br>
Courses, Meetings, Talks, and Posters {#courses data-icon=chalkboard-teacher}
--------------------------------------------------------------------------------
:::aside
Most recent slides are available via [speakerdeck](http://www.speakerdeck.com/lcolladotor) or [slideshare](http://www.slideshare.com/lcolladotor).
:::
```{r 'conf'}
print_section(position_data, 'conf')
```
::: aside
[Table of Contents](#toc)
:::
<br>
<br>
<br>
Languages {#languages data-icon=chalkboard-teacher}
--------------------------------------------------------------------------------
* Native: Spanish (Mexico)
* Bilingual: English
* Basic: French
::: aside
[Table of Contents](#toc)
:::
```{r 'more_pdf_stuff'}
if(PDF_EXPORT){
cat("
Links {data-icon=link}
--------------------------------------------------------------------------------
<br>
")
walk2(links, 1:length(links), function(link, index){
print(glue('{index}. {link}'))
})
}
```