Skip to content

Commit 100422f

Browse files
committed
Add final adjustments to revealjs presentation
1 parent f8837e5 commit 100422f

90 files changed

Lines changed: 5085 additions & 16149 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CITATION.cff

Lines changed: 14 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,17 @@
33
cff-version: 1.2.0
44
message: "To cite this master's thesis in publications use:"
55
title: "Ecology of sleep and circadian phenotypes of the Brazilian population"
6-
abstract: "Chronotypes are temporal phenotypes. Observable traits, like weight
7-
and eye color. Our current understanding of these traits is that they are
8-
linked to our environment and are the result of evolution pressures for
9-
creating an inner temporal organization. A way that organisms have found to
10-
anticipate events. Having such an important function in nature, these internal
11-
rhythms need to be closely aligned with environmental changes. The agents
12-
that shift these oscillations towards the environment are called zeitgebers
13-
and the shift phenomenon is called entrainment. The main zeitgeber for
14-
humans is light exposure, particularly the light of the sun. Considering
15-
the major role of light on entrainment, several studies hypothesized that
16-
the latitude shift of the sun could influence or even define the chronotypes
17-
of different populations. For example, populations that live close to the
18-
equator would be, on average, more entrained to the light-dark cycle and
19-
have morning-leaning characteristics. Here we test this hypothesis using
20-
a biological measure, the chronotype state, provided by the Munich ChronoType
21-
Questionnaire. We tested the latitude hypothesis on a sample with 73,825
22-
subjects living in different latitudes in Brazil. Our results show that,
23-
even with a wide, big, and aligned sample, the latitude is associated only
24-
with negligible effect sizes. The entrainment phenomenon appears to be much
25-
more complex than previously imagined, opening new questions and
26-
contradictions that need to be further investigated."
276
keywords:
28-
- masters-thesis
29-
- chronobiology
30-
- chronotype
31-
- circadian phenotypes
32-
- sleep
33-
- sleep-wake cycle
34-
- complex-systems
35-
- entrainment
36-
- latitude
37-
- ecology
38-
- mctq
7+
- Chronobiology
8+
- Biological rhythms
9+
- Chronotype
10+
- Circadian phenotype
11+
- Sleep
12+
- Complex systems
13+
- Entrainment
14+
- Latitude
15+
- Ecology
16+
- MCTQ
3917
authors:
4018
- family-names: Vartanian
4119
given-names: Daniel
@@ -63,5 +41,8 @@ preferred-citation:
6341
email: danvartan@gmail.com
6442
orcid: https://orcid.org/0000-0001-7782-759X
6543
year: "2023"
44+
address: São Paulo
45+
school: University of São Paulo
46+
langid: en-us
6647
url: https://danielvartan.github.io/mastersthesis/
67-
notes: "Quarto Book"
48+
note: Preliminary version

R/plot_ggally.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ library(ggplot2, quietly = TRUE)
66
# library(tidyr, quietly = TRUE)
77
# library(viridis, quietly = TRUE)
88

9+
source(here::here("R/utils.R"))
10+
11+
# ggplot2::aes(colour = sex)
912
plot_ggally <- function(data,
1013
cols,
1114
mapping = NULL,
@@ -55,9 +58,6 @@ plot_ggally <- function(data,
5558
mapping = mapping,
5659
axisLabels = axis_labels
5760
) +
58-
ggplot2::theme(
59-
text = ggplot2::element_text(size = text_size)
60-
) +
6161
viridis::scale_color_viridis(
6262
begin = 0.25,
6363
end = 0.75,

R/quarto-pre-render-revealjs.R

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ source(here::here("R", "quarto-pre-render-begin.R"))
99
# Update Quarto files -----
1010

1111
swap_list <- list(
12+
preface = list(
13+
from = here::here("qmd", "slides-preface.qmd"),
14+
to = here::here("qmd", "_index-revealjs.qmd"),
15+
begin_tag = "%:::% slides-preface begin %:::%",
16+
end_tag = "%:::% slides-preface end %:::%",
17+
value = NULL,
18+
quarto_render = FALSE
19+
),
20+
objectives = list(
21+
from = here::here("qmd", "slides-objectives.qmd"),
22+
to = here::here("qmd", "_index-revealjs.qmd"),
23+
begin_tag = "%:::% slides-objectives begin %:::%",
24+
end_tag = "%:::% slides-objectives end %:::%",
25+
value = NULL,
26+
quarto_render = FALSE
27+
),
1228
introduction = list(
1329
from = here::here("qmd", "slides-introduction.qmd"),
1430
to = here::here("qmd", "_index-revealjs.qmd"),
@@ -17,6 +33,22 @@ swap_list <- list(
1733
value = NULL,
1834
quarto_render = FALSE
1935
),
36+
thesis_outline = list(
37+
from = here::here("qmd", "slides-thesis-outline.qmd"),
38+
to = here::here("qmd", "_index-revealjs.qmd"),
39+
begin_tag = "%:::% slides-thesis-outline begin %:::%",
40+
end_tag = "%:::% slides-thesis-outline end %:::%",
41+
value = NULL,
42+
quarto_render = FALSE
43+
),
44+
methods = list(
45+
from = here::here("qmd", "slides-methods.qmd"),
46+
to = here::here("qmd", "_index-revealjs.qmd"),
47+
begin_tag = "%:::% slides-methods begin %:::%",
48+
end_tag = "%:::% slides-methods end %:::%",
49+
value = NULL,
50+
quarto_render = FALSE
51+
),
2052
results = list(
2153
from = here::here("qmd", "slides-results.qmd"),
2254
to = here::here("qmd", "_index-revealjs.qmd"),
@@ -25,6 +57,30 @@ swap_list <- list(
2557
value = NULL,
2658
quarto_render = FALSE
2759
),
60+
discussion = list(
61+
from = here::here("qmd", "slides-discussion.qmd"),
62+
to = here::here("qmd", "_index-revealjs.qmd"),
63+
begin_tag = "%:::% slides-discussion begin %:::%",
64+
end_tag = "%:::% slides-discussion end %:::%",
65+
value = NULL,
66+
quarto_render = FALSE
67+
),
68+
final_remarks = list(
69+
from = here::here("qmd", "slides-final-remarks.qmd"),
70+
to = here::here("qmd", "_index-revealjs.qmd"),
71+
begin_tag = "%:::% slides-final-remarks begin %:::%",
72+
end_tag = "%:::% slides-final-remarks end %:::%",
73+
value = NULL,
74+
quarto_render = FALSE
75+
),
76+
references = list(
77+
from = here::here("qmd", "slides-references.qmd"),
78+
to = here::here("qmd", "_index-revealjs.qmd"),
79+
begin_tag = "%:::% slides-references begin %:::%",
80+
end_tag = "%:::% slides-references end %:::%",
81+
value = NULL,
82+
quarto_render = FALSE
83+
),
2884
index = list(
2985
from = here::here("qmd", "_index-revealjs.qmd"),
3086
to = here::here("index.qmd"),

_quarto-revealjs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@ project:
77

88
title: "Ecology of sleep and circadian phenotypes of the Brazilian population"
99
author: "Daniel Vartanian"
10+
institute: "University of São Paulo"
11+
date: today
1012

1113
format:
1214
revealjs:
13-
date: today
15+
1416
lang: en
1517
csl: english-apa-author-date.csl
1618
keyboard: true
1719
controls: true
1820
controls-layout: bottom-right
1921
preview-links: auto
20-
theme: default
22+
theme: [default, scss/slides.scss]
2123
chalkboard: true

_variables.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ version-note: Preliminary version
2222
url: https://danielvartan.github.io/mastersthesis/
2323
language: en-us
2424
title: Ecology of sleep and circadian phenotypes of the Brazilian population
25-
date: '2023-11-15'
25+
date: '2023-11-16'
2626
year: '2023'
2727
format: revealjs

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</head>
2222
<body style="background-color:#FFFFFF;">
2323

24-
<div class="container p-5" style="width: 500px;">
24+
<div class="container p-5" style="width: 50%;">
2525
<div class="d-grid gap-3">
2626
<h2>Ecology of sleep and circadian phenotypes of the Brazilian population</h2>
2727

109 KB
Loading
283 KB
Loading
253 KB
Loading
29.9 KB
Loading

0 commit comments

Comments
 (0)