-
Notifications
You must be signed in to change notification settings - Fork 1
/
rfc-brief.Rmd
251 lines (200 loc) · 15.3 KB
/
rfc-brief.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
---
title: "Data sharing specifications for the NF community"
author:
- name: Robert Allaway
url: https://github.com/allaway
affiliation: Sage Bionetworks
affiliation_url: https://sagebionetworks.org/
orcid_id: 0000-0003-3573-3565
- name: Jineta Banerjee
url: https://github.com/jaybee84
affiliation: Sage Bionetworks
affiliation_url: https://sagebionetworks.org/
orcid_id: 0000-0002-1775-3645
- name: Anh Nguyet Vu
url: https://github.com/anngvu
affiliation: Sage Bionetworks
affiliation_url: https://sagebionetworks.org/
orcid_id: 0000-0003-1488-6730
- name: |
</br><span class = "custom-heading">Community Contributors</span></br>
- name: Larry Benowitz, Joanne Ngeow, Vincent Riccardi, Scott Plotkin, Jianqiang Wu, Angela C. Hirbe, Filipa Jorge Teixeira, Shruti Garg, Rianne Oostenbrink, Bruce Korf, Hui Liu, Adrienne L. Watson, Parnal Joshi, Tom Reh, Eva Trevisson
date: "2022-09-02"
description: |
Status: **Current standard**</br>
Version: **1.1.0**
draft: yes
output:
distill::distill_article:
self_contained: false
theme: theme.css
bibliography: citations.bib
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
library(gt)
library(dplyr)
library(tidyr)
library(ggplot2)
library(tidygraph)
library(ggraph)
source("R/circlepack.R")
survey <- read.csv("materials/rfc/rfc_responses.csv")
```
## Abstract
The NF Data Portal community is dedicated towards bringing the latest data and research from the NF research community to the world.
In doing so the Portal maintains and implements FAIR standards to make various types of research data findable, accessible, interoperable and reusable.
Recently the Portal community reached out to the research community asking feedback regarding sharing logistics of various data types and their file formats.
This document describes data types and formats that should be shared by the Neurofibromatosis (NF) research community for the NF Data Portal.
## Introduction
The NF Data Portal is a collaborative data-sharing platform for Neurofibromatosis, a rare genetic disease [@allaway_engaging_2019].
It has been jointly supported by multiple funding organizations -- the Gilbert Family Foundation (GFF), Children's Tumor Foundation (CTF), Neurofibromatosis Therapeutic Acceleration Program (NTAP), NCI Developmental and Hyperactive Ras Tumor SPORE (DHART SPORE), CDMRP Neurofibromatosis Research Program (CDMRP NFRP), and Neurofibromatosis Research Initiative (NFRI) -- and therefore represents substantial NF research activity.
As the NF Data Portal community continues to expand to add newly affiliated as well as independent researchers, and therefore new data, having these standards will help maintain the quality and quantity of our valuable resources.
But also important is that this document should actually benefit our data contributors.
<!-- to answer the question of "Why should I glance at this?" -->
One advantage is allowing our contributors to prioritize submissions accordingly.
As well, our contributors have a clear reference for the data formats that are preferred for sharing.
These specifications should lead to higher-impact data through encouraging interoperable formats that make data more likely to be reused (and cited).
Finally, this open document lets our community be informed of the current state of art, including specifications currently *not* included, so that they can provide input towards specific/new data formats.
The data-sharing specifications highlighted in this document have been informed by members in the research community, using their opinions solicited through an open Request for Comments (RFC).
The feedback received from the community was especially influential for data types outside of what is required by default, i.e. more "optional" data types.
These specifications also follow requirements already established by the NF-OSI funding organizations, which apply to data types with clear "reusability" value and for which there are well-defined strategies for sharing (e.g. sequencing data).
Journal requirements and other repositories were considered to a much lesser extent.
## Data types and formats summary
As a representation of the most recent funder requirements and RFC results, Table \@ref(tab:table-main) summarizes specifications for common data types that are of interest for the NF community.
These standards should apply for most general cases.
However, we do note that for some data types, the community provided additional considerations that serve to qualify or supplement what is in this table (see [Additional considerations](#qualitative)).
This qualitative feedback point to certain data domains that may need deeper evaluation.
Alongside the qualitative results, quantitative breakdowns for components of the RFC are available (see [RFC statistics](#quantitative)).
```{r table-main, fig.label="", layout="l-page", echo=F}
# for gt, use captions instead of fig.label
table1 <- read.csv("materials/rfc/data_specs.csv")
table1 %>%
select(-c(Description, PrivateNotes)) %>%
gt(
rowname_col = "Subtype",
groupname_col = "ParentType",
caption = "Specifications for relevant common data types."
) %>%
fmt_markdown(columns = c("Levels")) %>%
cols_label(
PublicNotes = "Notes"
) %>%
# tab_header(title = "Data sharing specifications") %>%
tab_footnote(
footnote = "Level nomenclature can be cross-referenced with https://gdc.cancer.gov/resources-tcga-users/tcga-code-tables/data-levels, where 'raw' corresponses to Level 1 and 'semi-processed' most closely corresponds to Level 2.",
locations = cells_column_labels(columns = Levels)
) %>%
tab_style(style = list(cell_text(color = 'gray', style = "italic")),
locations = cells_body(columns = Requirement,
rows = Requirement != "required")) %>%
tab_options(
row_group.background.color = "#FFEFDB",
table.font.size = "14px",
footnotes.marks = "letters")
```
## Additional considerations { #qualitative }
<!-- i.e. letter of data sharing law vs. the spirit of data sharing law -->
The current specifications should guide contributions in the "spirit of effective data sharing" and are most applicable when they lead to intended results, e.g. higher-impact shared data and reasonable balance of contributor/administrative effort given the expected value of the data shared.
<!-- would like to use "optimal" in place of "reasonable" someday; hard to optimize if expected values are unknown;
are there any papers with quantitative data on what data types has actually been most reused? -->
But there can be debatable cases where a "required" specification is less applicable.
The community has anticipated issues like these and provided recommendations for some of them.
However, difficult and unclear cases remain or may yet emerge, which will need more community consensus still.
<!-- we do want to minimize having to examine too many on a case-by-case basis, though -->
### Imaging data
Comments from the community noted two possible issues for imaging data.
A first question is whether imaging data should be shared when there are at most only a few images, which is of limited utility for re-analysis (e.g. with machine learning) usually requiring a large set of images.
That is, imaging data may require a "critical mass".
When only a few images are contributed, these are likely only representative images that might also appear in a publication.
In this case, it may not be really "required" that these images have to be shared.
A second case is for a study that may generate many images but can only process and fully annotate a subset.
For example, there can be a large number of pathology images without any annotations of disease features by a pathologist, as these kinds of annotations are manually intensive.
If all data are expected to be annotated -- and annotations are especially important for the usefulness of the images -- the question arises whether images outside the fully annotated subset should be shared.
A clear suggestion seems to be that sharing images without annotations is better than not sharing images -- for some images, it is possible for someone else to go back and add annotations.
Note that basic, automatic annotations are still expected; using the example above, the images should still have an associated sample ID and tissue source.
### Clinical data
Clinical data can be extremely diverse and unstructured.
While we have incorporated comments for structured clinical data, we have not received comments for unstructured clinical data such as patient histories that are often captured in text reports.
Clinical data still remains very open to comment from those in the community.
### Alternative assay/platform data
The specifications table includes the most common assay data types instead of enumerating all variants or alternatives.
An insightful community observation suggested there can be less common but better alternatives for some assays.
The example given was using a WES capillary protein analysis system in lieu of traditional western blot for easier analysis as well as raw data sharing.
This is actually asking a different design question -- not necessarily "What level and format of data should be used for better sharing?" but "What assays/platform should be used for better sharing?"
It is certainly not within our purview to specify what should be used, and experiments will have to be planned around what assays the researchers are familiar with and what equipment is available.
We are also aware that researchers are not likely to think about data sharing specifications until results have been generated, while this kind of consideration would take place before experiments even start.
Nevertheless, if the investigator is at the juncture of a design decision, awareness of alternatives and their relative merit in terms of data sharing could be helpful.
<!-- e.g. there was that question of whether a project should use Redcap or that new other system, Data-something? we're not sure which is actually better -->
Unfortunately, this aspect is not captured well in our current specifications.
We welcome the community providing more suggestions in this regard.
<!-- someday we might enumerate alternatives and rank them -->
## RFC statistics { #quantitative }
### Respondent profiles
```{r fig-respondent-type, fig.cap="Demographic representation of RFC community respondents", echo=F}
type_representation(Type, survey)
```
Figure \@ref(fig:fig-respondent-type) summarizes the representation of different demographic types as self-reported through the question *"What 'type' of NF research community member are you?"*
Because respondents could indicate more than one demographic type, a statistic of 43% here should be interpreted to mean that 43% of the responses represented the clinician perspective.
Overall, the RFC garnered highest representation from bench scientists and clinicians, which was expected.
That clinicians had nearly as much representation as bench scientists likely reflects the highly translational focus of the NF Data Portal community relative to more general data repositories.
In the RFC, we did not distinguish whether respondents considered themselves more a "data contributor", a "data re-user" or possibly "equally both".
In the future, this additional facet may provide additional insight in case there are conflicts in perspectives between these profiles.
<!-- and not that clinicians are more opinionated and more willing to answer surveys as a group -- clinicians are usually busy so their responses are highly valuable -->
<!-- demographic composition of respondents might change consensus results; also might be interesting how these demographics change and whether overall consensus changes -->
<!-- was there a type that did not get any representation? ANV can't access original survey, only results -->
### Survey quantified responses
```{r defaultPlot, echo=F}
# add horizontal line for majority or supermajority?
defaultPlot <- function(data, title) {
ggplot(data, aes(x = assay, y = n, fill = response)) +
geom_bar(stat="identity") +
scale_fill_manual(values = c(Yes = "#4DBBD5FF", No = "#E64B35FF", `Unspecified` = "gray")) +
theme_minimal() +
xlab("Assay or Data Type Category") +
ylab("Response Tally") +
theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1))
}
```
Figure \@ref(fig:fig-required) summarizes responses to the question *"Should it be required to deposit raw data?"* for the different assay or different type categories.
There were four categories that reached majority consensus for sharing: in vivo growth tumor data, Sanger sequencing, structured clinical data, and western blot.
```{r fig-required, fig.cap="Survey responses for whether depositing raw data should be required for different assays", echo=F}
q_required <- grep("should.it.be.required.to.deposit", names(survey), val = T)
r_required <- survey %>%
select(all_of(q_required)) %>%
pivot_longer(cols = all_of(q_required), names_to = "assay", values_to = "response") %>%
mutate(
assay = regmatches(assay, regexpr("^.+(?=..should)", assay, perl = T)),
response = recode(na_if(response, ""), .missing = "Unspecified")) %>%
count(assay, response)
defaultPlot(r_required, "Required")
# could do a plot using percentages,
# but could seem disingenuous to "hide" that there were only 20 responses
```
Figure \@ref(fig:fig-interest-reanalyze) summarizes responses to the question *"Have you ever re-analyzed this type of data, or wanted to, if the right dataset existed?"* for the different assay or different type categories.
The highest interest was for structured clinical data, which also garnered the strongest consensus that it should be shared (Fig \@ref(fig:fig-required)).
```{r fig-interest-reanalyze, fig.cap="Survey responses for previous experience or interest in re-analyzing data for different assays", echo=F}
q_interest <- grep("have.you.ever.re.analyzed", names(survey), val = T)
r_interest <- survey %>%
select(all_of(q_interest)) %>%
pivot_longer(cols = all_of(q_interest), names_to = "assay", values_to = "response") %>%
mutate(
assay = regmatches(assay, regexpr("^.+(?=..have)", assay, perl = T)),
response = recode(na_if(response, ""), .missing = "Unspecified")) %>%
count(assay, response)
defaultPlot(r_interest, "Required")
```
Figure \@ref(fig:fig-other-required) summarizes responses to the question *"Have you previously been required to share a complete raw dataset by a funder or journal?"*
The responses suggest that funder or journal sharing requirements for these assays or data types are not common, except for perhaps structured clinical data and western blots.
Compared to ratings in Fig \@ref(fig:fig-required), the results here also suggest that the community is willing to go beyond the "baseline" requirements of funders or journals.
```{r fig-other-required, fig.cap="Survey responses for previous requirements to share raw data by a funder or journal", echo=F}
q_other_required <- grep("by.a.funder.or.journal", names(survey), val = T)
r_other_required <- survey %>%
select(all_of(q_other_required)) %>%
pivot_longer(cols = all_of(q_other_required), names_to = "assay", values_to = "response") %>%
mutate(
assay = regmatches(assay, regexpr("^.+(?=..Have)", assay, perl = T)),
response = recode(na_if(response, ""), .missing = "Unspecified")) %>%
count(assay, response)
defaultPlot(r_other_required, "Required")
```