Skip to content

Commit

Permalink
Add final adjustments to revealjs presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvartan committed Nov 16, 2023
1 parent f8837e5 commit 100422f
Show file tree
Hide file tree
Showing 90 changed files with 5,085 additions and 16,149 deletions.
47 changes: 14 additions & 33 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,17 @@
cff-version: 1.2.0
message: "To cite this master's thesis in publications use:"
title: "Ecology of sleep and circadian phenotypes of the Brazilian population"
abstract: "Chronotypes are temporal phenotypes. Observable traits, like weight
and eye color. Our current understanding of these traits is that they are
linked to our environment and are the result of evolution pressures for
creating an inner temporal organization. A way that organisms have found to
anticipate events. Having such an important function in nature, these internal
rhythms need to be closely aligned with environmental changes. The agents
that shift these oscillations towards the environment are called zeitgebers
and the shift phenomenon is called entrainment. The main zeitgeber for
humans is light exposure, particularly the light of the sun. Considering
the major role of light on entrainment, several studies hypothesized that
the latitude shift of the sun could influence or even define the chronotypes
of different populations. For example, populations that live close to the
equator would be, on average, more entrained to the light-dark cycle and
have morning-leaning characteristics. Here we test this hypothesis using
a biological measure, the chronotype state, provided by the Munich ChronoType
Questionnaire. We tested the latitude hypothesis on a sample with 73,825
subjects living in different latitudes in Brazil. Our results show that,
even with a wide, big, and aligned sample, the latitude is associated only
with negligible effect sizes. The entrainment phenomenon appears to be much
more complex than previously imagined, opening new questions and
contradictions that need to be further investigated."
keywords:
- masters-thesis
- chronobiology
- chronotype
- circadian phenotypes
- sleep
- sleep-wake cycle
- complex-systems
- entrainment
- latitude
- ecology
- mctq
- Chronobiology
- Biological rhythms
- Chronotype
- Circadian phenotype
- Sleep
- Complex systems
- Entrainment
- Latitude
- Ecology
- MCTQ
authors:
- family-names: Vartanian
given-names: Daniel
Expand Down Expand Up @@ -63,5 +41,8 @@ preferred-citation:
email: danvartan@gmail.com
orcid: https://orcid.org/0000-0001-7782-759X
year: "2023"
address: São Paulo
school: University of São Paulo
langid: en-us
url: https://danielvartan.github.io/mastersthesis/
notes: "Quarto Book"
note: Preliminary version
6 changes: 3 additions & 3 deletions R/plot_ggally.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ library(ggplot2, quietly = TRUE)
# library(tidyr, quietly = TRUE)
# library(viridis, quietly = TRUE)

source(here::here("R/utils.R"))

# ggplot2::aes(colour = sex)
plot_ggally <- function(data,
cols,
mapping = NULL,
Expand Down Expand Up @@ -55,9 +58,6 @@ plot_ggally <- function(data,
mapping = mapping,
axisLabels = axis_labels
) +
ggplot2::theme(
text = ggplot2::element_text(size = text_size)
) +
viridis::scale_color_viridis(
begin = 0.25,
end = 0.75,
Expand Down
56 changes: 56 additions & 0 deletions R/quarto-pre-render-revealjs.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@ source(here::here("R", "quarto-pre-render-begin.R"))
# Update Quarto files -----

swap_list <- list(
preface = list(
from = here::here("qmd", "slides-preface.qmd"),
to = here::here("qmd", "_index-revealjs.qmd"),
begin_tag = "%:::% slides-preface begin %:::%",
end_tag = "%:::% slides-preface end %:::%",
value = NULL,
quarto_render = FALSE
),
objectives = list(
from = here::here("qmd", "slides-objectives.qmd"),
to = here::here("qmd", "_index-revealjs.qmd"),
begin_tag = "%:::% slides-objectives begin %:::%",
end_tag = "%:::% slides-objectives end %:::%",
value = NULL,
quarto_render = FALSE
),
introduction = list(
from = here::here("qmd", "slides-introduction.qmd"),
to = here::here("qmd", "_index-revealjs.qmd"),
Expand All @@ -17,6 +33,22 @@ swap_list <- list(
value = NULL,
quarto_render = FALSE
),
thesis_outline = list(
from = here::here("qmd", "slides-thesis-outline.qmd"),
to = here::here("qmd", "_index-revealjs.qmd"),
begin_tag = "%:::% slides-thesis-outline begin %:::%",
end_tag = "%:::% slides-thesis-outline end %:::%",
value = NULL,
quarto_render = FALSE
),
methods = list(
from = here::here("qmd", "slides-methods.qmd"),
to = here::here("qmd", "_index-revealjs.qmd"),
begin_tag = "%:::% slides-methods begin %:::%",
end_tag = "%:::% slides-methods end %:::%",
value = NULL,
quarto_render = FALSE
),
results = list(
from = here::here("qmd", "slides-results.qmd"),
to = here::here("qmd", "_index-revealjs.qmd"),
Expand All @@ -25,6 +57,30 @@ swap_list <- list(
value = NULL,
quarto_render = FALSE
),
discussion = list(
from = here::here("qmd", "slides-discussion.qmd"),
to = here::here("qmd", "_index-revealjs.qmd"),
begin_tag = "%:::% slides-discussion begin %:::%",
end_tag = "%:::% slides-discussion end %:::%",
value = NULL,
quarto_render = FALSE
),
final_remarks = list(
from = here::here("qmd", "slides-final-remarks.qmd"),
to = here::here("qmd", "_index-revealjs.qmd"),
begin_tag = "%:::% slides-final-remarks begin %:::%",
end_tag = "%:::% slides-final-remarks end %:::%",
value = NULL,
quarto_render = FALSE
),
references = list(
from = here::here("qmd", "slides-references.qmd"),
to = here::here("qmd", "_index-revealjs.qmd"),
begin_tag = "%:::% slides-references begin %:::%",
end_tag = "%:::% slides-references end %:::%",
value = NULL,
quarto_render = FALSE
),
index = list(
from = here::here("qmd", "_index-revealjs.qmd"),
to = here::here("index.qmd"),
Expand Down
6 changes: 4 additions & 2 deletions _quarto-revealjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ project:

title: "Ecology of sleep and circadian phenotypes of the Brazilian population"
author: "Daniel Vartanian"
institute: "University of São Paulo"
date: today

format:
revealjs:
date: today

lang: en
csl: english-apa-author-date.csl
keyboard: true
controls: true
controls-layout: bottom-right
preview-links: auto
theme: default
theme: [default, scss/slides.scss]
chalkboard: true
2 changes: 1 addition & 1 deletion _variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ version-note: Preliminary version
url: https://danielvartan.github.io/mastersthesis/
language: en-us
title: Ecology of sleep and circadian phenotypes of the Brazilian population
date: '2023-11-15'
date: '2023-11-16'
year: '2023'
format: revealjs
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</head>
<body style="background-color:#FFFFFF;">

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

Expand Down
Binary file added docs/slides/images/borbely-1982-figure-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/buhr-2013-figure-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/cohen-1992-table-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/dialetics-figure-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/duffy-2011-figure-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/globo-2017-figure-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/kuhlman-2018-figure-2a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/kuhlman-2018-figure-2b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/mctq-figure-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/power-analysis-figure-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/roenneberg-2003-figure-7-f.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/roenneberg-2007-figure-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/roenneberg-2015-mctq-core.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/roenneberg-2019-figure-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/slides/images/roenneberg-2022-figure-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 100422f

Please sign in to comment.