-
Notifications
You must be signed in to change notification settings - Fork 0
/
make-metadata.R
745 lines (626 loc) · 32.7 KB
/
make-metadata.R
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
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
# ------------------------------
# Base metadata for all datasets
# ------------------------------
df_base <- data.frame(
BiocVersion = "3.10",
Genome = NA,
SourceType = "FCS",
SourceUrl = "http://imlspenticton.uzh.ch/robinson_lab/HDCytoData/",
SourceVersion = NA,
Coordinate_1_based = TRUE,
DataProvider = "",
Maintainer = "Lukas M. Weber <lukmweber@gmail.com>",
DispatchClass = "Rda",
stringsAsFactors = FALSE
)
# ------------
# Levine_32dim
# ------------
# SummarizedExperiment
df_Levine_32dim_SE <- cbind(
df_base,
Title = "Levine_32dim_SE",
Description = paste0(
"Mass cytometry (CyTOF) dataset from Levine et al. (2015), ",
"containing 32 dimensions (surface protein markers). ",
"Manually gated cell population labels are available for 14 populations. ",
"Cells are human bone marrow cells from 2 healthy donors. ",
"This dataset can be used to benchmark clustering algorithms."),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Levine_32dim/Levine_32dim_SE.rda",
stringsAsFactors = FALSE
)
# flowSet
df_Levine_32dim_flowSet <- df_Levine_32dim_SE
df_Levine_32dim_flowSet$Title <- "Levine_32dim_flowSet"
df_Levine_32dim_flowSet$RDataClass <- "flowSet"
df_Levine_32dim_flowSet$RDataPath <- "HDCytoData/Levine_32dim/Levine_32dim_flowSet.rda"
# ------------
# Levine_13dim
# ------------
# SummarizedExperiment
df_Levine_13dim_SE <- cbind(
df_base,
Title = "Levine_13dim_SE",
Description = paste0(
"Mass cytometry (CyTOF) dataset from Levine et al. (2015), ",
"containing 13 dimensions (surface protein markers). ",
"Manually gated cell population labels are available for 24 populations. ",
"Cells are human bone marrow cells from a single healthy donor. ",
"This dataset can be used to benchmark clustering algorithms."),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Levine_13dim/Levine_13dim_SE.rda",
stringsAsFactors = FALSE
)
# flowSet
df_Levine_13dim_flowSet <- df_Levine_13dim_SE
df_Levine_13dim_flowSet$Title <- "Levine_13dim_flowSet"
df_Levine_13dim_flowSet$RDataClass <- "flowSet"
df_Levine_13dim_flowSet$RDataPath <- "HDCytoData/Levine_13dim/Levine_13dim_flowSet.rda"
# ----------
# Samusik_01
# ----------
# SummarizedExperiment
df_Samusik_01_SE <- cbind(
df_base,
Title = "Samusik_01_SE",
Description = paste0(
"Mass cytometry (CyTOF) dataset from Samusik et al. (2016), ",
"containing 39 dimensions (surface protein markers). ",
"Manually gated cell population labels are available for 24 populations. ",
"The full dataset (Samusik_all) contains cells from 10 replicate bone marrow samples from ",
"C57BL/6J mice (i.e. samples from 10 different mice); this dataset (Samusik_01) contains ",
"the data from sample 01 only. ",
"This dataset can be used to benchmark clustering algorithms."),
Species = "Mus musculus",
TaxonomyId = "10090",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Samusik_01/Samusik_01_SE.rda",
stringsAsFactors = FALSE
)
# flowSet
df_Samusik_01_flowSet <- df_Samusik_01_SE
df_Samusik_01_flowSet$Title <- "Samusik_01_flowSet"
df_Samusik_01_flowSet$RDataClass <- "flowSet"
df_Samusik_01_flowSet$RDataPath <- "HDCytoData/Samusik_01/Samusik_01_flowSet.rda"
# -----------
# Samusik_all
# -----------
# SummarizedExperiment
df_Samusik_all_SE <- cbind(
df_base,
Title = "Samusik_all_SE",
Description = paste0(
"Mass cytometry (CyTOF) dataset from Samusik et al. (2016), ",
"containing 39 dimensions (surface protein markers). ",
"Manually gated cell population labels are available for 24 populations. ",
"This dataset contains cells from 10 replicate bone marrow samples from ",
"C57BL/6J mice (i.e. samples from 10 different mice). ",
"This dataset can be used to benchmark clustering algorithms."),
Species = "Mus musculus",
TaxonomyId = "10090",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Samusik_all/Samusik_all_SE.rda",
stringsAsFactors = FALSE
)
# flowSet
df_Samusik_all_flowSet <- df_Samusik_all_SE
df_Samusik_all_flowSet$Title <- "Samusik_all_flowSet"
df_Samusik_all_flowSet$RDataClass <- "flowSet"
df_Samusik_all_flowSet$RDataPath <- "HDCytoData/Samusik_all/Samusik_all_flowSet.rda"
# ------------
# Nilsson_rare
# ------------
# SummarizedExperiment
df_Nilsson_rare_SE <- cbind(
df_base,
Title = "Nilsson_rare_SE",
Description = paste0(
"Flow cytometry dataset from Nilsson et al. (2013), ",
"containing 13 dimensions (surface protein markers). ",
"Manually gated cell population labels are available for one rare population of ",
"hematopoietic stem cells (HSCs). ",
"Cells are human bone marrow cells from a single healthy donor. ",
"This dataset can be used to benchmark clustering algorithms for rare cell populations."
),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Nilsson_rare/Nilsson_rare_SE.rda",
stringsAsFactors = FALSE
)
# flowSet
df_Nilsson_rare_flowSet <- df_Nilsson_rare_SE
df_Nilsson_rare_flowSet$Title <- "Nilsson_rare_flowSet"
df_Nilsson_rare_flowSet$RDataClass <- "flowSet"
df_Nilsson_rare_flowSet$RDataPath <- "HDCytoData/Nilsson_rare/Nilsson_rare_flowSet.rda"
# ------------
# Mosmann_rare
# ------------
# SummarizedExperiment
df_Mosmann_rare_SE <- cbind(
df_base,
Title = "Mosmann_rare_SE",
Description = paste0(
"Flow cytometry dataset from Mosmann et al. (2014), ",
"containing 14 dimensions (7 surface protein markers and 7 signaling markers). ",
"Manually gated cell population labels are available for one rare population of ",
"activated (cytokine-producing) memory CD4 T cells. ",
"Cells are human peripheral blood cells exposed to influenza antigens, from a single healthy donor. ",
"This dataset can be used to benchmark clustering algorithms for rare cell populations."
),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Mosmann_rare/Mosmann_rare_SE.rda",
stringsAsFactors = FALSE
)
# flowSet
df_Mosmann_rare_flowSet <- df_Mosmann_rare_SE
df_Mosmann_rare_flowSet$Title <- "Mosmann_rare_flowSet"
df_Mosmann_rare_flowSet$RDataClass <- "flowSet"
df_Mosmann_rare_flowSet$RDataPath <- "HDCytoData/Mosmann_rare/Mosmann_rare_flowSet.rda"
# ---------------
# Krieg_Anti_PD_1
# ---------------
# SummarizedExperiment
df_Krieg_Anti_PD_1_SE <- cbind(
df_base,
Title = "Krieg_Anti_PD_1_SE",
Description = paste0(
"Mass cytometry (CyTOF) dataset from Krieg et al. (2018), consisting of 20 baseline samples ",
"(prior to treatment) of peripheral blood from melanoma skin cancer patients subsequently treated ",
"with anti-PD-1 immunotherapy. The samples are split across 2 conditions (non-responders and ",
"responders) and 2 batches. This dataset can be used to benchmark differential analysis algorithms ",
"used to test for differentially abundant rare cell populations."
),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Krieg_Anti_PD_1/Krieg_Anti_PD_1_SE.rda",
stringsAsFactors = FALSE
)
# flowSet
df_Krieg_Anti_PD_1_flowSet <- df_Krieg_Anti_PD_1_SE
df_Krieg_Anti_PD_1_flowSet$Title <- "Krieg_Anti_PD_1_flowSet"
df_Krieg_Anti_PD_1_flowSet$RDataClass <- "flowSet"
df_Krieg_Anti_PD_1_flowSet$RDataPath <- "HDCytoData/Krieg_Anti_PD_1/Krieg_Anti_PD_1_flowSet.rda"
# ------------------
# Bodenmiller_BCR_XL
# ------------------
# SummarizedExperiment
df_Bodenmiller_BCR_XL_SE <- cbind(
df_base,
Title = "Bodenmiller_BCR_XL_SE",
Description = paste0(
"Mass cytometry (CyTOF) dataset from Bodenmiller et al. (2012), consisting of 8 paired samples ",
"(16 samples) of stimulated (BCR-XL) and unstimulated peripheral blood cells from healthy ",
"individuals. This dataset can be used to benchmark differential analysis algorithms ",
"used to test for differential states within cell populations."
),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Bodenmiller_BCR_XL/Bodenmiller_BCR_XL_SE.rda",
stringsAsFactors = FALSE
)
# flowSet
df_Bodenmiller_BCR_XL_flowSet <- df_Bodenmiller_BCR_XL_SE
df_Bodenmiller_BCR_XL_flowSet$Title <- "Bodenmiller_BCR_XL_flowSet"
df_Bodenmiller_BCR_XL_flowSet$RDataClass <- "flowSet"
df_Bodenmiller_BCR_XL_flowSet$RDataPath <- "HDCytoData/Bodenmiller_BCR_XL/Bodenmiller_BCR_XL_flowSet.rda"
# ------------------
# Weber_AML_sim_main
# ------------------
# main simulations
# SummarizedExperiments
df_Weber_AML_sim_main_5pc_SE <- cbind(
df_base,
Title = "Weber_AML_sim_main_5pc_SE",
Description = paste0(
"Semi-simulated mass cytometry (CyTOF) dataset from Weber et al. (2019), ",
"constructed by computationally 'spiking in' small percentages of AML (acute myeloid leukemia) ",
"blast cells into samples of healthy BMMCs (bone marrow mononuclear cells), simulating ",
"the phenotype of minimal residual disease (MRD) in AML patients. ",
"Main simulations. ",
"This dataset can be used to benchmark differential analysis algorithms used to test for ",
"differentially abundant rare cell populations. ",
"Raw data sourced from Levine et al. (2015), and data generation strategy modified from ",
"Arvaniti et al. (2017). ",
"See Weber et al. (2019) (paper introducing 'diffcyt' framework), Supplementary Note 1, ",
"for more details."
),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Weber_AML_sim/Weber_AML_sim_main_5pc_SE.rda",
stringsAsFactors = FALSE
)
# additional thresholds
df_Weber_AML_sim_main_1pc_SE <- df_Weber_AML_sim_main_5pc_SE
df_Weber_AML_sim_main_1pc_SE$Title <- gsub("5pc", "1pc", df_Weber_AML_sim_main_1pc_SE$Title)
df_Weber_AML_sim_main_1pc_SE$RDataPath <- gsub("5pc", "1pc", df_Weber_AML_sim_main_1pc_SE$RDataPath)
df_Weber_AML_sim_main_0.1pc_SE <- df_Weber_AML_sim_main_5pc_SE
df_Weber_AML_sim_main_0.1pc_SE$Title <- gsub("5pc", "0.1pc", df_Weber_AML_sim_main_0.1pc_SE$Title)
df_Weber_AML_sim_main_0.1pc_SE$RDataPath <- gsub("5pc", "0.1pc", df_Weber_AML_sim_main_0.1pc_SE$RDataPath)
# additional object for all blasts
df_Weber_AML_sim_main_blasts_all_SE <- df_Weber_AML_sim_main_5pc_SE
df_Weber_AML_sim_main_blasts_all_SE$Title <- gsub("5pc", "blasts_all", df_Weber_AML_sim_main_blasts_all_SE$Title)
df_Weber_AML_sim_main_blasts_all_SE$RDataPath <- gsub("5pc", "blasts_all", df_Weber_AML_sim_main_blasts_all_SE$RDataPath)
# flowSets
df_Weber_AML_sim_main_5pc_flowSet <- df_Weber_AML_sim_main_5pc_SE
df_Weber_AML_sim_main_5pc_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_AML_sim_main_5pc_flowSet$Title)
df_Weber_AML_sim_main_5pc_flowSet$RDataClass <- "flowSet"
df_Weber_AML_sim_main_5pc_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_AML_sim_main_5pc_flowSet$RDataPath)
df_Weber_AML_sim_main_1pc_flowSet <- df_Weber_AML_sim_main_1pc_SE
df_Weber_AML_sim_main_1pc_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_AML_sim_main_1pc_flowSet$Title)
df_Weber_AML_sim_main_1pc_flowSet$RDataClass <- "flowSet"
df_Weber_AML_sim_main_1pc_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_AML_sim_main_1pc_flowSet$RDataPath)
df_Weber_AML_sim_main_0.1pc_flowSet <- df_Weber_AML_sim_main_0.1pc_SE
df_Weber_AML_sim_main_0.1pc_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_AML_sim_main_0.1pc_flowSet$Title)
df_Weber_AML_sim_main_0.1pc_flowSet$RDataClass <- "flowSet"
df_Weber_AML_sim_main_0.1pc_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_AML_sim_main_0.1pc_flowSet$RDataPath)
df_Weber_AML_sim_main_blasts_all_flowSet <- df_Weber_AML_sim_main_blasts_all_SE
df_Weber_AML_sim_main_blasts_all_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_AML_sim_main_blasts_all_flowSet$Title)
df_Weber_AML_sim_main_blasts_all_flowSet$RDataClass <- "flowSet"
df_Weber_AML_sim_main_blasts_all_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_AML_sim_main_blasts_all_flowSet$RDataPath)
# ------------------
# Weber_AML_sim_null
# ------------------
# additional simulations: null simulations
# SummarizedExperiments
df_Weber_AML_sim_null_SE <- cbind(
df_base,
Title = "Weber_AML_sim_null_SE",
Description = paste0(
"Semi-simulated mass cytometry (CyTOF) dataset from Weber et al. (2019), ",
"constructed by computationally 'spiking in' small percentages of AML (acute myeloid leukemia) ",
"blast cells into samples of healthy BMMCs (bone marrow mononuclear cells), simulating ",
"the phenotype of minimal residual disease (MRD) in AML patients. ",
"Additional simulations: null simulations. ",
"This dataset can be used to benchmark differential analysis algorithms used to test for ",
"differentially abundant rare cell populations. ",
"Raw data sourced from Levine et al. (2015), and data generation strategy modified from ",
"Arvaniti et al. (2017). ",
"See Weber et al. (2019) (paper introducing 'diffcyt' framework), Supplementary Note 1, ",
"for more details."
),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Weber_AML_sim/Weber_AML_sim_null_SE.rda",
stringsAsFactors = FALSE
)
# flowSets
df_Weber_AML_sim_null_flowSet <- df_Weber_AML_sim_null_SE
df_Weber_AML_sim_null_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_AML_sim_null_flowSet$Title)
df_Weber_AML_sim_null_flowSet$RDataClass <- "flowSet"
df_Weber_AML_sim_null_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_AML_sim_null_flowSet$RDataPath)
# --------------------------
# Weber_AML_sim_random_seeds
# --------------------------
# additional simulations: modified random seeds
# SummarizedExperiments
df_Weber_AML_sim_random_seeds_5pc_SE <- cbind(
df_base,
Title = "Weber_AML_sim_random_seeds_5pc_SE",
Description = paste0(
"Semi-simulated mass cytometry (CyTOF) dataset from Weber et al. (2019), ",
"constructed by computationally 'spiking in' small percentages of AML (acute myeloid leukemia) ",
"blast cells into samples of healthy BMMCs (bone marrow mononuclear cells), simulating ",
"the phenotype of minimal residual disease (MRD) in AML patients. ",
"Additional simulations: modified random seeds. ",
"This dataset can be used to benchmark differential analysis algorithms used to test for ",
"differentially abundant rare cell populations. ",
"Raw data sourced from Levine et al. (2015), and data generation strategy modified from ",
"Arvaniti et al. (2017). ",
"See Weber et al. (2019) (paper introducing 'diffcyt' framework), Supplementary Note 1, ",
"for more details."
),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Weber_AML_sim/Weber_AML_sim_random_seeds_5pc_SE.rda",
stringsAsFactors = FALSE
)
# additional thresholds
df_Weber_AML_sim_random_seeds_1pc_SE <- df_Weber_AML_sim_random_seeds_5pc_SE
df_Weber_AML_sim_random_seeds_1pc_SE$Title <- gsub("5pc", "1pc", df_Weber_AML_sim_random_seeds_1pc_SE$Title)
df_Weber_AML_sim_random_seeds_1pc_SE$RDataPath <- gsub("5pc", "1pc", df_Weber_AML_sim_random_seeds_1pc_SE$RDataPath)
df_Weber_AML_sim_random_seeds_0.1pc_SE <- df_Weber_AML_sim_random_seeds_5pc_SE
df_Weber_AML_sim_random_seeds_0.1pc_SE$Title <- gsub("5pc", "0.1pc", df_Weber_AML_sim_random_seeds_0.1pc_SE$Title)
df_Weber_AML_sim_random_seeds_0.1pc_SE$RDataPath <- gsub("5pc", "0.1pc", df_Weber_AML_sim_random_seeds_0.1pc_SE$RDataPath)
# flowSets
df_Weber_AML_sim_random_seeds_5pc_flowSet <- df_Weber_AML_sim_random_seeds_5pc_SE
df_Weber_AML_sim_random_seeds_5pc_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_AML_sim_random_seeds_5pc_flowSet$Title)
df_Weber_AML_sim_random_seeds_5pc_flowSet$RDataClass <- "flowSet"
df_Weber_AML_sim_random_seeds_5pc_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_AML_sim_random_seeds_5pc_flowSet$RDataPath)
df_Weber_AML_sim_random_seeds_1pc_flowSet <- df_Weber_AML_sim_random_seeds_1pc_SE
df_Weber_AML_sim_random_seeds_1pc_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_AML_sim_random_seeds_1pc_flowSet$Title)
df_Weber_AML_sim_random_seeds_1pc_flowSet$RDataClass <- "flowSet"
df_Weber_AML_sim_random_seeds_1pc_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_AML_sim_random_seeds_1pc_flowSet$RDataPath)
df_Weber_AML_sim_random_seeds_0.1pc_flowSet <- df_Weber_AML_sim_random_seeds_0.1pc_SE
df_Weber_AML_sim_random_seeds_0.1pc_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_AML_sim_random_seeds_0.1pc_flowSet$Title)
df_Weber_AML_sim_random_seeds_0.1pc_flowSet$RDataClass <- "flowSet"
df_Weber_AML_sim_random_seeds_0.1pc_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_AML_sim_random_seeds_0.1pc_flowSet$RDataPath)
# ---------------------------
# Weber_AML_sim_less_distinct
# ---------------------------
# additional simulations: 'less distinct' spike-in cells
# SummarizedExperiments
df_Weber_AML_sim_less_distinct_5pc_SE <- cbind(
df_base,
Title = "Weber_AML_sim_less_distinct_5pc_SE",
Description = paste0(
"Semi-simulated mass cytometry (CyTOF) dataset from Weber et al. (2019), ",
"constructed by computationally 'spiking in' small percentages of AML (acute myeloid leukemia) ",
"blast cells into samples of healthy BMMCs (bone marrow mononuclear cells), simulating ",
"the phenotype of minimal residual disease (MRD) in AML patients. ",
"Additional simulations: 'less distinct' spike-in cells. ",
"This dataset can be used to benchmark differential analysis algorithms used to test for ",
"differentially abundant rare cell populations. ",
"Raw data sourced from Levine et al. (2015), and data generation strategy modified from ",
"Arvaniti et al. (2017). ",
"See Weber et al. (2019) (paper introducing 'diffcyt' framework), Supplementary Note 1, ",
"for more details."
),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Weber_AML_sim/Weber_AML_sim_less_distinct_5pc_SE.rda",
stringsAsFactors = FALSE
)
# additional thresholds
df_Weber_AML_sim_less_distinct_1pc_SE <- df_Weber_AML_sim_less_distinct_5pc_SE
df_Weber_AML_sim_less_distinct_1pc_SE$Title <- gsub("5pc", "1pc", df_Weber_AML_sim_less_distinct_1pc_SE$Title)
df_Weber_AML_sim_less_distinct_1pc_SE$RDataPath <- gsub("5pc", "1pc", df_Weber_AML_sim_less_distinct_1pc_SE$RDataPath)
df_Weber_AML_sim_less_distinct_0.1pc_SE <- df_Weber_AML_sim_less_distinct_5pc_SE
df_Weber_AML_sim_less_distinct_0.1pc_SE$Title <- gsub("5pc", "0.1pc", df_Weber_AML_sim_less_distinct_0.1pc_SE$Title)
df_Weber_AML_sim_less_distinct_0.1pc_SE$RDataPath <- gsub("5pc", "0.1pc", df_Weber_AML_sim_less_distinct_0.1pc_SE$RDataPath)
# flowSets
df_Weber_AML_sim_less_distinct_5pc_flowSet <- df_Weber_AML_sim_less_distinct_5pc_SE
df_Weber_AML_sim_less_distinct_5pc_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_AML_sim_less_distinct_5pc_flowSet$Title)
df_Weber_AML_sim_less_distinct_5pc_flowSet$RDataClass <- "flowSet"
df_Weber_AML_sim_less_distinct_5pc_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_AML_sim_less_distinct_5pc_flowSet$RDataPath)
df_Weber_AML_sim_less_distinct_1pc_flowSet <- df_Weber_AML_sim_less_distinct_1pc_SE
df_Weber_AML_sim_less_distinct_1pc_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_AML_sim_less_distinct_1pc_flowSet$Title)
df_Weber_AML_sim_less_distinct_1pc_flowSet$RDataClass <- "flowSet"
df_Weber_AML_sim_less_distinct_1pc_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_AML_sim_less_distinct_1pc_flowSet$RDataPath)
df_Weber_AML_sim_less_distinct_0.1pc_flowSet <- df_Weber_AML_sim_less_distinct_0.1pc_SE
df_Weber_AML_sim_less_distinct_0.1pc_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_AML_sim_less_distinct_0.1pc_flowSet$Title)
df_Weber_AML_sim_less_distinct_0.1pc_flowSet$RDataClass <- "flowSet"
df_Weber_AML_sim_less_distinct_0.1pc_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_AML_sim_less_distinct_0.1pc_flowSet$RDataPath)
# ---------------------
# Weber_BCR_XL_sim_main
# ---------------------
# main simulation
# SummarizedExperiment
df_Weber_BCR_XL_sim_main_SE <- cbind(
df_base,
Title = "Weber_BCR_XL_sim_main_SE",
Description = paste0(
"Semi-simulated mass cytometry (CyTOF) dataset from Weber et al. (2019), constructed by ",
"randomly splitting unstimulated (reference) samples of PBMCs (peripheral blood mononuclear cells) ",
"into two halves, and replacing B cells in one half with stimulated (BCR-XL) B cells from ",
"corresponding paired samples. ",
"Main simulation. ",
"This dataset can be used to benchmark differential analysis algorithms used to test for ",
"differential states within cell populations. ",
"Raw data sourced from Bodenmiller et al. (2012); cell population labels reproduced from ",
"Nowicka et al. (2017). ",
"See Weber et al. (2019) (paper introducing 'diffcyt' framework), Supplementary Note 1, ",
"for more details."
),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Weber_BCR_XL_sim/Weber_BCR_XL_sim_main_SE.rda",
stringsAsFactors = FALSE
)
# flowSet
df_Weber_BCR_XL_sim_main_flowSet <- df_Weber_BCR_XL_sim_main_SE
df_Weber_BCR_XL_sim_main_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_BCR_XL_sim_main_flowSet$Title)
df_Weber_BCR_XL_sim_main_flowSet$RDataClass <- "flowSet"
df_Weber_BCR_XL_sim_main_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_BCR_XL_sim_main_flowSet$RDataPath)
# ---------------------
# Weber_BCR_XL_sim_null
# ---------------------
# additional simulations: null simulations
# SummarizedExperiments
df_Weber_BCR_XL_sim_null_rep1_SE <- cbind(
df_base,
Title = "Weber_BCR_XL_sim_null_rep1_SE",
Description = paste0(
"Semi-simulated mass cytometry (CyTOF) dataset from Weber et al. (2019), constructed by ",
"randomly splitting unstimulated (reference) samples of PBMCs (peripheral blood mononuclear cells) ",
"into two halves, and replacing B cells in one half with stimulated (BCR-XL) B cells from ",
"corresponding paired samples. ",
"Additional simulations: null simulations. ",
"This dataset can be used to benchmark differential analysis algorithms used to test for ",
"differential states within cell populations. ",
"Raw data sourced from Bodenmiller et al. (2012); cell population labels reproduced from ",
"Nowicka et al. (2017). ",
"See Weber et al. (2019) (paper introducing 'diffcyt' framework), Supplementary Note 1, ",
"for more details."
),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Weber_BCR_XL_sim/Weber_BCR_XL_sim_null_rep1_SE.rda",
stringsAsFactors = FALSE
)
# additional replicates
df_Weber_BCR_XL_sim_null_rep2_SE <- df_Weber_BCR_XL_sim_null_rep1_SE
df_Weber_BCR_XL_sim_null_rep2_SE$Title <- gsub("rep1", "rep2", df_Weber_BCR_XL_sim_null_rep2_SE$Title)
df_Weber_BCR_XL_sim_null_rep2_SE$RDataPath <- gsub("rep1", "rep2", df_Weber_BCR_XL_sim_null_rep2_SE$RDataPath)
df_Weber_BCR_XL_sim_null_rep3_SE <- df_Weber_BCR_XL_sim_null_rep1_SE
df_Weber_BCR_XL_sim_null_rep3_SE$Title <- gsub("rep1", "rep3", df_Weber_BCR_XL_sim_null_rep3_SE$Title)
df_Weber_BCR_XL_sim_null_rep3_SE$RDataPath <- gsub("rep1", "rep3", df_Weber_BCR_XL_sim_null_rep3_SE$RDataPath)
# flowSets
df_Weber_BCR_XL_sim_null_rep1_flowSet <- df_Weber_BCR_XL_sim_null_rep1_SE
df_Weber_BCR_XL_sim_null_rep1_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_BCR_XL_sim_null_rep1_flowSet$Title)
df_Weber_BCR_XL_sim_null_rep1_flowSet$RDataClass <- "flowSet"
df_Weber_BCR_XL_sim_null_rep1_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_BCR_XL_sim_null_rep1_flowSet$RDataPath)
df_Weber_BCR_XL_sim_null_rep2_flowSet <- df_Weber_BCR_XL_sim_null_rep2_SE
df_Weber_BCR_XL_sim_null_rep2_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_BCR_XL_sim_null_rep2_flowSet$Title)
df_Weber_BCR_XL_sim_null_rep2_flowSet$RDataClass <- "flowSet"
df_Weber_BCR_XL_sim_null_rep2_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_BCR_XL_sim_null_rep2_flowSet$RDataPath)
df_Weber_BCR_XL_sim_null_rep3_flowSet <- df_Weber_BCR_XL_sim_null_rep3_SE
df_Weber_BCR_XL_sim_null_rep3_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_BCR_XL_sim_null_rep3_flowSet$Title)
df_Weber_BCR_XL_sim_null_rep3_flowSet$RDataClass <- "flowSet"
df_Weber_BCR_XL_sim_null_rep3_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_BCR_XL_sim_null_rep3_flowSet$RDataPath)
# -----------------------------
# Weber_BCR_XL_sim_random_seeds
# -----------------------------
# additional simulations: modified random seeds
# SummarizedExperiments
df_Weber_BCR_XL_sim_random_seeds_rep1_SE <- cbind(
df_base,
Title = "Weber_BCR_XL_sim_random_seeds_rep1_SE",
Description = paste0(
"Semi-simulated mass cytometry (CyTOF) dataset from Weber et al. (2019), constructed by ",
"randomly splitting unstimulated (reference) samples of PBMCs (peripheral blood mononuclear cells) ",
"into two halves, and replacing B cells in one half with stimulated (BCR-XL) B cells from ",
"corresponding paired samples. ",
"Additional simulations: modified random seeds. ",
"This dataset can be used to benchmark differential analysis algorithms used to test for ",
"differential states within cell populations. ",
"Raw data sourced from Bodenmiller et al. (2012); cell population labels reproduced from ",
"Nowicka et al. (2017). ",
"See Weber et al. (2019) (paper introducing 'diffcyt' framework), Supplementary Note 1, ",
"for more details."
),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Weber_BCR_XL_sim/Weber_BCR_XL_sim_random_seeds_rep1_SE.rda",
stringsAsFactors = FALSE
)
# additional replicates
df_Weber_BCR_XL_sim_random_seeds_rep2_SE <- df_Weber_BCR_XL_sim_random_seeds_rep1_SE
df_Weber_BCR_XL_sim_random_seeds_rep2_SE$Title <- gsub("rep1", "rep2", df_Weber_BCR_XL_sim_random_seeds_rep2_SE$Title)
df_Weber_BCR_XL_sim_random_seeds_rep2_SE$RDataPath <- gsub("rep1", "rep2", df_Weber_BCR_XL_sim_random_seeds_rep2_SE$RDataPath)
df_Weber_BCR_XL_sim_random_seeds_rep3_SE <- df_Weber_BCR_XL_sim_random_seeds_rep1_SE
df_Weber_BCR_XL_sim_random_seeds_rep3_SE$Title <- gsub("rep1", "rep3", df_Weber_BCR_XL_sim_random_seeds_rep3_SE$Title)
df_Weber_BCR_XL_sim_random_seeds_rep3_SE$RDataPath <- gsub("rep1", "rep3", df_Weber_BCR_XL_sim_random_seeds_rep3_SE$RDataPath)
# flowSets
df_Weber_BCR_XL_sim_random_seeds_rep1_flowSet <- df_Weber_BCR_XL_sim_random_seeds_rep1_SE
df_Weber_BCR_XL_sim_random_seeds_rep1_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_BCR_XL_sim_random_seeds_rep1_flowSet$Title)
df_Weber_BCR_XL_sim_random_seeds_rep1_flowSet$RDataClass <- "flowSet"
df_Weber_BCR_XL_sim_random_seeds_rep1_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_BCR_XL_sim_random_seeds_rep1_flowSet$RDataPath)
df_Weber_BCR_XL_sim_random_seeds_rep2_flowSet <- df_Weber_BCR_XL_sim_random_seeds_rep2_SE
df_Weber_BCR_XL_sim_random_seeds_rep2_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_BCR_XL_sim_random_seeds_rep2_flowSet$Title)
df_Weber_BCR_XL_sim_random_seeds_rep2_flowSet$RDataClass <- "flowSet"
df_Weber_BCR_XL_sim_random_seeds_rep2_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_BCR_XL_sim_random_seeds_rep2_flowSet$RDataPath)
df_Weber_BCR_XL_sim_random_seeds_rep3_flowSet <- df_Weber_BCR_XL_sim_random_seeds_rep3_SE
df_Weber_BCR_XL_sim_random_seeds_rep3_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_BCR_XL_sim_random_seeds_rep3_flowSet$Title)
df_Weber_BCR_XL_sim_random_seeds_rep3_flowSet$RDataClass <- "flowSet"
df_Weber_BCR_XL_sim_random_seeds_rep3_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_BCR_XL_sim_random_seeds_rep3_flowSet$RDataPath)
# ------------------------------
# Weber_BCR_XL_sim_less_distinct
# ------------------------------
# additional simulations: 'less distinct' spike-in cells
# SummarizedExperiments
df_Weber_BCR_XL_sim_less_distinct_less_50pc_SE <- cbind(
df_base,
Title = "Weber_BCR_XL_sim_less_distinct_less_50pc_SE",
Description = paste0(
"Semi-simulated mass cytometry (CyTOF) dataset from Weber et al. (2019), constructed by ",
"randomly splitting unstimulated (reference) samples of PBMCs (peripheral blood mononuclear cells) ",
"into two halves, and replacing B cells in one half with stimulated (BCR-XL) B cells from ",
"corresponding paired samples. ",
"Additional simulations: 'less distinct' spike-in cells. ",
"This dataset can be used to benchmark differential analysis algorithms used to test for ",
"differential states within cell populations. ",
"Raw data sourced from Bodenmiller et al. (2012); cell population labels reproduced from ",
"Nowicka et al. (2017). ",
"See Weber et al. (2019) (paper introducing 'diffcyt' framework), Supplementary Note 1, ",
"for more details."
),
Species = "Homo sapiens",
TaxonomyId = "9606",
RDataClass = "SummarizedExperiment",
RDataPath = "HDCytoData/Weber_BCR_XL_sim/Weber_BCR_XL_sim_less_distinct_less_50pc_SE.rda",
stringsAsFactors = FALSE
)
# additional replicates
df_Weber_BCR_XL_sim_less_distinct_less_75pc_SE <- df_Weber_BCR_XL_sim_less_distinct_less_50pc_SE
df_Weber_BCR_XL_sim_less_distinct_less_75pc_SE$Title <- gsub("less_50pc", "less_75pc", df_Weber_BCR_XL_sim_less_distinct_less_75pc_SE$Title)
df_Weber_BCR_XL_sim_less_distinct_less_75pc_SE$RDataPath <- gsub("less_50pc", "less_75pc", df_Weber_BCR_XL_sim_less_distinct_less_75pc_SE$RDataPath)
# flowSets
df_Weber_BCR_XL_sim_less_distinct_less_50pc_flowSet <- df_Weber_BCR_XL_sim_less_distinct_less_50pc_SE
df_Weber_BCR_XL_sim_less_distinct_less_50pc_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_BCR_XL_sim_less_distinct_less_50pc_flowSet$Title)
df_Weber_BCR_XL_sim_less_distinct_less_50pc_flowSet$RDataClass <- "flowSet"
df_Weber_BCR_XL_sim_less_distinct_less_50pc_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_BCR_XL_sim_less_distinct_less_50pc_flowSet$RDataPath)
df_Weber_BCR_XL_sim_less_distinct_less_75pc_flowSet <- df_Weber_BCR_XL_sim_less_distinct_less_75pc_SE
df_Weber_BCR_XL_sim_less_distinct_less_75pc_flowSet$Title <- gsub("_SE$", "_flowSet", df_Weber_BCR_XL_sim_less_distinct_less_75pc_flowSet$Title)
df_Weber_BCR_XL_sim_less_distinct_less_75pc_flowSet$RDataClass <- "flowSet"
df_Weber_BCR_XL_sim_less_distinct_less_75pc_flowSet$RDataPath <- gsub("_SE.rda", "_flowSet.rda", df_Weber_BCR_XL_sim_less_distinct_less_75pc_flowSet$RDataPath)
# ---------------------------------
# Combine for all datasets and save
# ---------------------------------
# Combine all datasets
df_all <- rbind(
df_Levine_32dim_SE,
df_Levine_32dim_flowSet,
df_Levine_13dim_SE,
df_Levine_13dim_flowSet,
df_Samusik_01_SE,
df_Samusik_01_flowSet,
df_Samusik_all_SE,
df_Samusik_all_flowSet,
df_Nilsson_rare_SE,
df_Nilsson_rare_flowSet,
df_Mosmann_rare_SE,
df_Mosmann_rare_flowSet,
df_Krieg_Anti_PD_1_SE,
df_Krieg_Anti_PD_1_flowSet,
df_Bodenmiller_BCR_XL_SE,
df_Bodenmiller_BCR_XL_flowSet,
df_Weber_AML_sim_main_5pc_SE,
df_Weber_AML_sim_main_5pc_flowSet,
df_Weber_AML_sim_main_1pc_SE,
df_Weber_AML_sim_main_1pc_flowSet,
df_Weber_AML_sim_main_0.1pc_SE,
df_Weber_AML_sim_main_0.1pc_flowSet,
df_Weber_AML_sim_main_blasts_all_SE,
df_Weber_AML_sim_main_blasts_all_flowSet,
df_Weber_AML_sim_null_SE,
df_Weber_AML_sim_null_flowSet,
df_Weber_AML_sim_random_seeds_5pc_SE,
df_Weber_AML_sim_random_seeds_5pc_flowSet,
df_Weber_AML_sim_random_seeds_1pc_SE,
df_Weber_AML_sim_random_seeds_1pc_flowSet,
df_Weber_AML_sim_random_seeds_0.1pc_SE,
df_Weber_AML_sim_random_seeds_0.1pc_flowSet,
df_Weber_AML_sim_less_distinct_5pc_SE,
df_Weber_AML_sim_less_distinct_5pc_flowSet,
df_Weber_AML_sim_less_distinct_1pc_SE,
df_Weber_AML_sim_less_distinct_1pc_flowSet,
df_Weber_AML_sim_less_distinct_0.1pc_SE,
df_Weber_AML_sim_less_distinct_0.1pc_flowSet,
df_Weber_BCR_XL_sim_main_SE,
df_Weber_BCR_XL_sim_main_flowSet,
df_Weber_BCR_XL_sim_null_rep1_SE,
df_Weber_BCR_XL_sim_null_rep1_flowSet,
df_Weber_BCR_XL_sim_null_rep2_SE,
df_Weber_BCR_XL_sim_null_rep2_flowSet,
df_Weber_BCR_XL_sim_null_rep3_SE,
df_Weber_BCR_XL_sim_null_rep3_flowSet,
df_Weber_BCR_XL_sim_random_seeds_rep1_SE,
df_Weber_BCR_XL_sim_random_seeds_rep1_flowSet,
df_Weber_BCR_XL_sim_random_seeds_rep2_SE,
df_Weber_BCR_XL_sim_random_seeds_rep2_flowSet,
df_Weber_BCR_XL_sim_random_seeds_rep3_SE,
df_Weber_BCR_XL_sim_random_seeds_rep3_flowSet,
df_Weber_BCR_XL_sim_less_distinct_less_50pc_SE,
df_Weber_BCR_XL_sim_less_distinct_less_50pc_flowSet,
df_Weber_BCR_XL_sim_less_distinct_less_75pc_SE,
df_Weber_BCR_XL_sim_less_distinct_less_75pc_flowSet
)
# Save as .csv file
write.csv(df_all, file = "../extdata/metadata.csv", row.names = FALSE)