generated from LizHareDogs/hareSlideTemplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.Rmd
529 lines (405 loc) · 17.1 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
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
---
title: "Assessment of the Agreement between Fosters and Trainers Evaluating Behavior with the C-BARQ and Behavior Checklist"
subtitle: "IWDC 2021"
author: Elizabeth Hare PhD
institute: ""
date: "October 12, 2021"
output:
xaringan::moon_reader:
seal: false # false removes YAML title slide
css: ['css/xaringan-themer.css', 'css/custom.css']
nature:
highlightStyle: github
highlightLines: true
ratio: 16:9
---
```{r metadata, echo=FALSE}
# creating HTML metadata to accompany the slides
# metathis package documentation: https://pkg.garrickadenbuie.com/metathis/
library(metathis)
meta() %>%
meta_general(
description = "Assessment of the Agreement between Fosters and Trainers Evaluating Behavior with the C-BARQ and Behavior Checklist",
generator = "xaringan and remark.js"
) %>%
# GitHub repo housing the slides for the talk
meta_name("github-repo" = "LizHareDogs/iwdba2021") %>%
# metadata for the social card that appears when you share the link on social media
meta_social(
title = "IWDBA 2021 | Elizabeth Hare, PhD",
url = "Assessment of the Agreement between Fosters and Trainers Evaluating Behavior with the C-BARQ and Behavior Checklist",
image = "coverImageSlide.png",
image_alt = "",
og_type = "website",
og_author = "Liz Hare",
twitter_card_type = "summary_large_image",
twitter_creator = "@DogGeneticsLLC"
)
```
```{r xaringanthemer, echo=FALSE, warning=FALSE}
library(xaringanthemer)
# creating a custom CSS stylesheet using xaringanthemer
# xaringanthemer package documentation: https://pkg.garrickadenbuie.com/xaringanthemer/reference/style_duo_accent_inverse.html
style_duo_accent_inverse(
primary_color = "#C6B78A", # gold color from the logo (headers, inverse slides)
secondary_color = "#C6B78A", # gold color (links and bold words)
white_color = "#F5F5F5", # off-white color (text)
black_color = "#14213D", # dark navy blue color (slide background)
base_font_size = "25px",
header_h1_font_size = "2.25rem",
header_h2_font_size = "2.0rem",
header_h3_font_size = "1.75rem",
link_decoration = "underline 3px",
table_row_even_background_color = "#313C54", # lighter navy color
inverse_link_color = "#14213D", # dark navy blue color
code_highlight_color = "#ECECCE", # beige color
header_background_content_padding_top = "5rem",
footnote_position_bottom = "40px",
outfile = "css/xaringan-themer.css",
text_font_family = "Red Hat Text",
text_font_google = google_font("Red Hat Text"),
header_font_google = google_font("Red Hat Text"),
extra_css = list(
# the following css styles the horizontal bars
"hr" = list("color" = "#C6B78A",
"content" = "''",
"display" = "block",
"border" = "none",
"background-color" = "#C6B78A",
"height" = "0.08em"),
# the following css styles the list markers to apply the primary color
"li::marker" = list("content" = "•",
"color" = "#C6B78A"))
)
```
```{r xaringanExtra, echo=FALSE, warning=FALSE}
library(xaringanExtra)
# specifying xaringanExtra features
# xaringanExtra package documentation: https://pkg.garrickadenbuie.com/xaringanExtra/#/?id=xaringanextra
xaringanExtra::use_xaringan_extra(
c("tile_view", # enables an overview of the slide deck using letter "O"
"slide_tone" # enables audible tone for slide transitions
)
)
```
```{r setup, include=FALSE, eval = TRUE}
# loading libraries
library(fontawesome) # icons for use alongside contact info
# turning off scientific notation
options(scipen = 999)
# setting knitr code chunk options
knitr::opts_chunk$set(collapse = TRUE,
fig.retina = 3,
cache = FALSE,
warning = FALSE,
message = FALSE,
echo = FALSE,
comment = NA,
dpi = 300,
fig.align = "center")
```
class: top, title
<!-- this slide has the Dog Genetics, LLC logo in the top right corner, added using the "background" image classes above. The text begins on the bottom left corner of the slide -->
.left-col-narrow[.center[
<br>
<!--inserting the IWDBA logo that links to the IWDC 2021 page-->
<a href="https://www.iwdba.org/event/iwdc-2021/"><img src="img/iwdbaLogo.png" alt="International Working Dog Breeding Association" width="80%"/></a>
.titleConf[`r rmarkdown::metadata$subtitle`]
]]
.right-col-wide[
.left[
# `r rmarkdown::metadata$title`
<!--inserting a horizontal bar for aesthetic appeal -->
----
]]
.titleAuthor[
`r rmarkdown::metadata$author`<br>@DogGeneticsLLC `r fa("twitter", a11y="sem")`
]
---
class: bottom, center
.pull-left[
<img style="border-radius: 50%;"
src="img/Profile_LH.JPG",
alt="Photo of Liz Hare with an elderly Golden Retriever and a young Labrador Retriever in harness",
width="250px"
/>
# `r rmarkdown::metadata$author`
[`r fa("link", a11y="sem")` doggenetics.com](http://doggenetics.com/)<br>
[`r fa("twitter", a11y="sem")` @DogGeneticsLLC](https://twitter.com/DogGeneticsLLC)<br>
[`r fa("github", a11y="sem")` @LizHareDogs](https://github.com/LizHareDogs)<br>
[`r fa("envelope", a11y="sem")` [email protected]](mailto:[email protected])
]<!--end of pull left-->
.pull-right[
``` {r, PVWDClogo, fig.alt="Working Dog Center Logo with University of Pennsylvania shield on the left next to two lines of text: 'PennVet' and 'Working Dog Center'", out.width="90%"}
knitr::include_graphics("img/PV Working Dog Center Logo-tshirt.jpg")
```
## Collaborators
.large[Jennifer L. Essler PhD]
.large[Cynthia M. Otto DVM PhD DACVECC DACVSMR]
.large[James A. Serpell PhD]
] <!--end of pull right-->
---
# Sources for PennVet Working Dog Center Pups
.pull-left[
- Working Dog Center Detector Dog Breeding Program
- Labrador Retrievers
- Dutch Shepherds
- Breeder donations
- Pups from litters with working parents and relatives
- Health standards for parents
- Herding and sporting breeds]
.pull-right[
``` {r,babyBlackLab, fig.alt="An ADORABLE baby black lab gnaws on a green and purple chew toy, looking up at the camera at an angle. It is in a crate outdoors sitting on grass.", out.height="90%"}
knitr::include_graphics("img/IMG_5840.jpeg")
```
]
---
# Puppy Development at the PennVet Working Dog Center
.pull-left[
- Pups live with foster families
- Training begins ~8 weeks of age
- [Fit to Work](https://www.frontiersin.org/articles/10.3389/fvets.2020.00470/full)
- Obedience
- Agility
- Search]
.pull-right[
``` {r, bretagne, fig.alt="A reddish Golden is lying in sphinx position on a large rectangular trampoline in a big room. Its front paws are resting on an open book, and the position of the dog’s head makes it look like it is reading. There are several other books piled on the floor around the trampoline.", out.width="90%"}
knitr::include_graphics("img/BretBooks.png")
```
]
---
# Intensive Interaction and Observation
.pull-left[
- Career choice based on
- Formal assessment
- Trainer observation
- Career flexibility contributes to very high success rate: 93%]
.pull-right[
``` {r, agilityInteraction, fig.alt="In a large room there are two red utility ladders with a plank resting on them approximately 4ft above the ground. A straight ladder is resting on the plank, at an angle. A black lab is standing on the plank, looking the camera as a blond woman with short hair and glasses on top of her head, smiles up at the dog. The ladders have “Penn Vet Working Dog Center” bumper stickers stuck on the uprights.", out.width="90%"}
knitr::include_graphics("img/IMG_6611.JPG")
```
]
---
# Formal Assessments
- Behavior questionnaires
- BCL (Behavior Checklist) is completed by trainer
- C-BARQ (Canine Behavioral and Research Questionnaire) is completed by foster
- Behavior tests withs Scoring
- Engagement
- Environment
---
# C-BARQ
- 100 items
- Most items cluster into one of 14 subscales
- Some miscellaneous items do not cluster
- Problem behaviors, except trainability
---
# C-BARQ Scoring
``` {r, table describing C-BARQ scoring, results="asis", echo=FALSE}
Score <- c(0, 1, 2, 3, 4)
Frequency <- c("Never", "Seldom", "Sometimes", "Usually", "Always")
Intensity <- c("None", "Mild", "Moderate", "Moderate to Extreme", "Extreme")
tabCscore <- data.frame(Score, Frequency, Intensity)
tabCscoreK <- kableExtra::kbl(tabCscore, caption="Behaviors Rated 0 to 4 on either Frequency or Intensity")
kableExtra::kable_styling(tabCscoreK, full_width=FALSE)
```
Each subscale score is the mean of the items in the subscale.
Subscale scores were considered missing when less than 70% of items had responses
---
# BCL
.pull-left[
- 43 individual items
- no clusters
- most BCL items overlap with C-BARQ subscales]
.pull-right[
``` {r, BCL scoring, results="asis", echo=FALSE}
bScore <- c(0, 1, 2, 3, 4)
bIntensity <- c("Absent", "Very Mild", "Mild", "Moderate", "Severe")
tabBscore <- data.frame(bScore, bIntensity)
colnames(tabBscore) <- c("Score", "Intensity")
tabBscoreK <- kableExtra::kbl(tabBscore, caption="Behaviors Rated 0 to 4 on Intensity")
kableExtra::kable_styling(tabBscoreK, full_width=FALSE)
```
]
---
# Dogs
.pull-left[
Assigned to age group categories:
- up to 9 months
- 9 months to 2 years
- 2 years and up
Randomly retained one of each assessment per dog per age category]
.pull-right[
``` {r, ageDemo, results="asis", echo=FALSE}
ag <- c("Up to 9 mo", "9 mo to 2 y", "Over 2 y")
ct <- c(39, 64, 5)
tabCount <- data.frame(ag, ct)
colnames(tabCount) <- c("Age Category", "N")
tabCountK <- kableExtra::kbl(tabCount)
kableExtra::kable_styling(tabCountK)
```
]
---
# BCL - C-BARQ Correlations
How closely do BCL and C-BARQ scores correlate?
Two analyses of Spearman correlation with Holm adjustment for multiple testing
1. BCL and C-BARQ subscales
2. BCL and C-BARQ individual items
---
# BCL items and C-BARQ subscales: Correlations
``` {r, tabSubscale, results="asis", echo=FALSE}
c1 <- c("Stranger-directed aggression",
"Stranger-directed aggression",
"Resource guarding around dogs")
c2 <- c("Stranger-directed aggression",
"Dog-directed aggression",
"Dog-directed aggression")
c3 <- c(0.49, 0.42, 0.46)
c4 <- c("< 0.001", "< 0.05", "< 0.05")
tabSubscale <- data.frame(c1, c2, c3, c4)
colnames(tabSubscale) <- c("BCL", "C-BARQ", "rho", "p")
tabSubscaleK <- kableExtra::kbl(tabSubscale)
kableExtra::kable_styling(tabSubscaleK, full_width=FALSE)
```
---
# BCL and C-BARQ Items: Dog-directed Aggression
``` {r, dogAggr, results="asis", echo=FALSE}
load("data/sigCorItems.Rda")
sigDogAgg <- sigCorDisplay[sigCorDisplay$subscale == "Dog-directed Aggression", ]
sigStrAgg <- sigCorDisplay[sigCorDisplay$subscale == "Stranger-directed Aggression", ]
sigTouch <- sigCorDisplay[sigCorDisplay$subscale == "Touch Sensitivity", ]
sigDogAgg <- sigDogAgg[ ,c("Parameter1", "Parameter2", "rho", "p")]
sigDogAgg$cb <- c("Aggression when approached directly by an unfamiliar male dog while being walked/exercised on a leash",
"Aggression when approached directly by an unfamiliar female dog while being walked/exercised on a leash",
"Aggression when barked, growled, or lunged at by another (unfamiliar) dog",
"Aggression when approached directly by an unfamiliar female dog while being walked/exercised on a leash",
"Aggression when barked, growled, or lunged at by another (unfamiliar) dog")
sigDogAgg$Parameter1[sigDogAgg$Parameter1 == "aggrDogN"] <- "Dog-directed aggression"
sigDogAgg$Parameter1[sigDogAgg$Parameter1 == "resourceGuardDogN"] <- "Resource guarding around dogs"
tabDogAgg <- sigDogAgg[ , c("Parameter1", "cb", "rho", "p")]
colnames(tabDogAgg) <- c("BCL", "C-BARQ", "rho", "p")
tabDogAggK <- kableExtra::kbl(tabDogAgg, row.names=FALSE, digits=c(0, 0, 2, 4))
kableExtra::kable_styling(tabDogAggK)
```
---
#
# BCL and C-BARQ Items: Stranger-directed Aggression
``` {r, strAgg, results="asis", echo=FALSE}
sigStrAgg <- sigStrAgg[ ,c("Parameter1", "Parameter2", "rho", "p")]
sigStrAgg$cb <- c("Aggression when approached directly by an unfamiliar adult while being walked/exercised on a leash",
"When approached directly by an unfamiliar child while being walked/exercised on a leash",
"Aggression when approached directly by an unfamiliar adult while being walked/exercised on a leash")
sigStrAgg$Parameter1[sigStrAgg$Parameter1 == "fearStrangerN"] <- "Stranger-directed fear"
sigStrAgg$Parameter1[sigStrAgg$Parameter1 == "aggrStrangerN"] <- "Stranger-directed aggression"
tabDogAgg <- sigStrAgg[ , c("Parameter1", "cb", "rho", "p")]
colnames(tabDogAgg) <- c("BCL", "C-BARQ", "rho", "p")
tabDogAggK <- kableExtra::kbl(tabDogAgg, row.names=FALSE, digits=c(0, 0, 2, 4))
kableExtra::kable_styling(tabDogAggK)
```
---
# BCL and C-BARQ Items: Touch Sensitivity
``` {r, touch, results="asis", echo=FALSE}
sigTouch <- sigTouch[ ,c("Parameter1", "Parameter2", "rho", "p")]
sigTouch$cb <- c("Fear when having nails clipped by a household member")
sigTouch$Parameter1[sigTouch$Parameter1 == "retreatsReachedN"] <- "Retreats when reached for"
tabDogAgg <- sigTouch[ , c("Parameter1", "cb", "rho", "p")]
colnames(tabDogAgg) <- c("BCL", "C-BARQ", "rho", "p")
tabDogAggK <- kableExtra::kbl(tabDogAgg, row.names=FALSE, digits=c(0, 0, 2, 4))
kableExtra::kable_styling(tabDogAggK)
```
---
# Behaviors with No Correlation
.pull-left[
- Trainability
- Inter-dog rivalry
- Chasing
- Excitability
- Attention-seeking
- Energy]
.pull-right[
- Owner-directed aggression
- Dog-directed fear
- Stranger-directed fear
- Non-social fear]
---
# Why don't we find high correlations?
"Dogs behave differently at home and at the Center" ----Dr. Cindy Otto
.pull-left[
``` {r, VaukBobHammock, fig.alt="A laughing man is lying on his back in a hammock next to a squiggly black lab, paws in the air, head so far back only the underside of the jaw is visible.", out.height="90%"}
knitr::include_graphics("img/VaukBobHammock.jpg")
```
]
.pull-right[
``` {r, LabFind, fig.alt="A yellow lab stands on the ground, mouth open, eyes squeezed shut, head thrown back, baying, with front paws up on a cement platform in what looks like a junkyard, as the camera looks down, askew, from above. Perhaps the photographer is standing on the platform?", out.height="99%"}
knitr::include_graphics("img/sam_9261.jpg")
```
]
---
# Why don't we find high correlations?
- Fosters and trainers have different experience and expectations
- C-BARQ items are more specific
---
# Limitations
- Data incomplete for early years
- Difficulty correlating aggression, fear, and touch sensitivity to success because of high success rate
- Dogs have potential to fail or be successful in more than one category
- Confounding between career chosen for dogs and trainers' assessments
---
# What's next?
.pull-left[
Development of working dog specific C-BARQ
Other factors affecting behavior
- Breed
- Sex
- Discipline (detection, search, patrol)]
.pull-right[
``` {r, pointyFind, fig.alt="A yellow dog with dark eyebrows and muzzle edges peers down at the camera from above, through a crack between rough splintery slats (possibly a produce crate or pallet?) Most visible are the dark nostrils of the snout, and the brown eyes behind. Sunlight slants in across the dark slats at a steep angle. The ends of more pieces of wood are visible behind the dog. (Is this a SAR scenario?)", out.width="90%"}
knitr::include_graphics("img/CANTF3ontarioCanine.jpg")
```
]
---
# Thank You
.pull-left[
PennVet Working Dog Center
- Trainers
- Foster families
IWDC 2021 Organizing and Scientific Committees
Slide theme by [Dr. Silvia Canelón](https://silvia.rbind.io)
Alt-text descriptions by Dr. Angela Baldo
]
.pull-right[
``` {r, Vlitter, fig.alt="A row of eight young black labs, each wearing a different brightly colored collar, sit facing the camera. There is slight variation among the dogs, in height and body shape. Out of focus landscape is in the background. The foreground is also out of focus. Only the dogs are in focus.", out.width="90%"}
knitr::include_graphics("img/v-litter 2-21.jpg")
```
]
???
This slide uses:
- a code chunk to produce a ggplot
- code chunk option `fig.height = 8` and `fig.width = 14` to control the figure height and width
---
class: middle, inverse
.pull-left[
# Thank you!
] <!--end of pull left -->
.pull-right[
.right[
<!--HTML code inserting a circular avatar of a square photo-->
<img
src="img/Profile_LH.JPG"
width="200px"
alt="Profile of Liz Hare"
style="border-radius: 50%;"/>
## `r rmarkdown::metadata$author`
<!--Inserting social media links-->
[`r fa("link", a11y="sem")` doggenetics.com](http://doggenetics.com/)<br>
[`r fa("twitter", a11y="sem")` @DogGeneticsLLC](https://twitter.com/DogGeneticsLLC)<br>
[`r fa("github", a11y="sem")` @LizHareDogs](https://github.com/LizHareDogs)<br>
[`r fa("envelope", a11y="sem")` [email protected]](mailto:[email protected])
] <!--end of right -->
] <!--end of pull right -->
???
Thank you for joining me!
You can find my contact information linked on this slide if you want to get in touch, and I'm happy to take any questions.
This slide contains
- `.pull-left[]` and `.pull-right[]` classes
- `.right[]` class