Datasets:
adding cc, rossi, mahendrawada mindel promoter dto
Browse files- README.md +84 -50
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=callingcards-annotated_features/perturbation_repo_dataset=hackett_2020-hackett_2020/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=callingcards-annotated_features/perturbation_repo_dataset=hu_2007_reimand_2010-hu_2007_reimand_2010/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=callingcards-annotated_features/perturbation_repo_dataset=hughes_2006-knockout/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=callingcards-annotated_features/perturbation_repo_dataset=hughes_2006-overexpression/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=callingcards-annotated_features/perturbation_repo_dataset=kemmeren_2014-kemmeren_2014/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=callingcards-annotated_features/perturbation_repo_dataset=mahendrawada_2025-rnaseq_reprocessed/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined/perturbation_repo_dataset=hackett_2020-hackett_2020/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined/perturbation_repo_dataset=hu_2007_reimand_2010-hu_2007_reimand_2010/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined/perturbation_repo_dataset=hughes_2006-knockout/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined/perturbation_repo_dataset=hughes_2006-overexpression/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined/perturbation_repo_dataset=kemmeren_2014-kemmeren_2014/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined/perturbation_repo_dataset=mahendrawada_2025-rnaseq_reprocessed/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=rossi_2021-rossi_2021_af_combined/perturbation_repo_dataset=hackett_2020-hackett_2020/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=rossi_2021-rossi_2021_af_combined/perturbation_repo_dataset=hu_2007_reimand_2010-hu_2007_reimand_2010/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=rossi_2021-rossi_2021_af_combined/perturbation_repo_dataset=hughes_2006-knockout/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=rossi_2021-rossi_2021_af_combined/perturbation_repo_dataset=hughes_2006-overexpression/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=rossi_2021-rossi_2021_af_combined/perturbation_repo_dataset=kemmeren_2014-kemmeren_2014/part-0.parquet +3 -0
- dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=rossi_2021-rossi_2021_af_combined/perturbation_repo_dataset=mahendrawada_2025-rnaseq_reprocessed/part-0.parquet +3 -0
- scripts/dto_preparation.R +89 -69
- scripts/parse_dto_results.R +129 -61
README.md
CHANGED
|
@@ -11,6 +11,63 @@ pretty_name: "Yeast Direct Target Overlap Analysis"
|
|
| 11 |
size_categories:
|
| 12 |
- 1K<n<10K
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
configs:
|
| 15 |
- config_name: dto
|
| 16 |
description: >-
|
|
@@ -38,61 +95,38 @@ configs:
|
|
| 38 |
'repo_id;config_name;sample_id' (e.g.,
|
| 39 |
'BrentLab/Hackett_2020;hackett_2020;200')
|
| 40 |
role: source_sample
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
- name:
|
| 56 |
-
dtype:
|
| 57 |
-
description: >-
|
| 58 |
-
Rank threshold used for the perturbation dataset in the DTO analysis.
|
| 59 |
-
This represents the rank cutoff that maximizes overlap significance
|
| 60 |
-
between binding and perturbation datasets.
|
| 61 |
-
role: quantitative_measure
|
| 62 |
-
- name: binding_set_size
|
| 63 |
-
dtype: int64
|
| 64 |
-
description: >-
|
| 65 |
-
Number of targets in the binding dataset at the optimal rank threshold.
|
| 66 |
-
This is the size of the set used to calculate overlap with the
|
| 67 |
-
perturbation dataset.
|
| 68 |
-
role: quantitative_measure
|
| 69 |
-
- name: perturbation_set_size
|
| 70 |
-
dtype: int64
|
| 71 |
-
description: >-
|
| 72 |
-
Number of targets in the perturbation dataset at the optimal rank
|
| 73 |
-
threshold. This is the size of the set used to calculate overlap with
|
| 74 |
-
the binding dataset.
|
| 75 |
-
role: quantitative_measure
|
| 76 |
-
- name: dto_fdr
|
| 77 |
-
dtype: float64
|
| 78 |
description: >-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
dtype: float64
|
| 86 |
description: >-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
role: quantitative_measure
|
| 92 |
partitioning:
|
| 93 |
enabled: true
|
| 94 |
partition_by: ["binding_repo_dataset", "perturbation_repo_dataset"]
|
| 95 |
-
path_template: "
|
| 96 |
---
|
| 97 |
|
| 98 |
# Yeast Comparative Analysis
|
|
|
|
| 11 |
size_categories:
|
| 12 |
- 1K<n<10K
|
| 13 |
|
| 14 |
+
features:
|
| 15 |
+
- applies_to:
|
| 16 |
+
- dto
|
| 17 |
+
- dto_rossi_cc_mahendrawada_mindel
|
| 18 |
+
fields:
|
| 19 |
+
- name: pr_ranking_column
|
| 20 |
+
dtype:
|
| 21 |
+
class_label: ["log2fc", "pvalue"]
|
| 22 |
+
description: >-
|
| 23 |
+
Describes which column, effect (log2fc) or pvalue was used
|
| 24 |
+
in ranking the perturbation response data. see scripts/dto_preparation.R
|
| 25 |
+
for more info on each dataset
|
| 26 |
+
- name: binding_rank_threshold
|
| 27 |
+
dtype: float64
|
| 28 |
+
description: >-
|
| 29 |
+
Rank threshold used for the binding dataset in the DTO analysis. This
|
| 30 |
+
represents the rank cutoff that maximizes overlap significance between
|
| 31 |
+
binding and perturbation datasets.
|
| 32 |
+
role: quantitative_measure
|
| 33 |
+
- name: perturbation_rank_threshold
|
| 34 |
+
dtype: float64
|
| 35 |
+
description: >-
|
| 36 |
+
Rank threshold used for the perturbation dataset in the DTO analysis.
|
| 37 |
+
This represents the rank cutoff that maximizes overlap significance
|
| 38 |
+
between binding and perturbation datasets.
|
| 39 |
+
role: quantitative_measure
|
| 40 |
+
- name: binding_set_size
|
| 41 |
+
dtype: int64
|
| 42 |
+
description: >-
|
| 43 |
+
Number of targets in the binding dataset at the optimal rank threshold.
|
| 44 |
+
This is the size of the set used to calculate overlap with the
|
| 45 |
+
perturbation dataset.
|
| 46 |
+
role: quantitative_measure
|
| 47 |
+
- name: perturbation_set_size
|
| 48 |
+
dtype: int64
|
| 49 |
+
description: >-
|
| 50 |
+
Number of targets in the perturbation dataset at the optimal rank
|
| 51 |
+
threshold. This is the size of the set used to calculate overlap with
|
| 52 |
+
the binding dataset.
|
| 53 |
+
role: quantitative_measure
|
| 54 |
+
- name: dto_fdr
|
| 55 |
+
dtype: float64
|
| 56 |
+
description: >-
|
| 57 |
+
False discovery rate (FDR) for the direct target overlap test. Lower
|
| 58 |
+
values indicate more significant overlap between binding and
|
| 59 |
+
perturbation target sets. Missing values (NA) indicate insufficient
|
| 60 |
+
data for DTO analysis.
|
| 61 |
+
role: quantitative_measure
|
| 62 |
+
- name: dto_empirical_pvalue
|
| 63 |
+
dtype: float64
|
| 64 |
+
description: >-
|
| 65 |
+
Empirical p-value from permutation testing for the direct target
|
| 66 |
+
overlap. This represents the probability of observing the observed
|
| 67 |
+
overlap by chance. Missing values (NA) indicate insufficient data for
|
| 68 |
+
DTO analysis.
|
| 69 |
+
role: quantitative_measure
|
| 70 |
+
|
| 71 |
configs:
|
| 72 |
- config_name: dto
|
| 73 |
description: >-
|
|
|
|
| 95 |
'repo_id;config_name;sample_id' (e.g.,
|
| 96 |
'BrentLab/Hackett_2020;hackett_2020;200')
|
| 97 |
role: source_sample
|
| 98 |
+
partitioning:
|
| 99 |
+
enabled: true
|
| 100 |
+
partition_by: ["binding_repo_dataset", "perturbation_repo_dataset"]
|
| 101 |
+
path_template: "dto/binding_repo_dataset={binding_repo_dataset}/perturbation_repo_dataset={perturbation_repo_dataset}/*.parquet"
|
| 102 |
+
- config_name: dto_rossi_cc_mahendrawada_mindel
|
| 103 |
+
description: >-
|
| 104 |
+
Only the rossi, mahendrawada and cc datasets, which are called over the Barkai
|
| 105 |
+
Mindel promoter regions.
|
| 106 |
+
dataset_type: comparative
|
| 107 |
+
data_files:
|
| 108 |
+
- split: train
|
| 109 |
+
path: dto_rossi_cc_mahendrawada_mindel/*/*/*.parquet
|
| 110 |
+
dataset_info:
|
| 111 |
+
features:
|
| 112 |
+
- name: binding_id
|
| 113 |
+
dtype: string
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
description: >-
|
| 115 |
+
Composite sample identifier for the binding experiment in format
|
| 116 |
+
'repo_id;config_name;sample_id' (e.g.,
|
| 117 |
+
'BrentLab/callingcards;annotated_features;1')
|
| 118 |
+
role: source_sample
|
| 119 |
+
- name: perturbation_id
|
| 120 |
+
dtype: string
|
|
|
|
| 121 |
description: >-
|
| 122 |
+
Composite sample identifier for the perturbation experiment in format
|
| 123 |
+
'repo_id;config_name;sample_id' (e.g.,
|
| 124 |
+
'BrentLab/Hackett_2020;hackett_2020;200')
|
| 125 |
+
role: source_sample
|
|
|
|
| 126 |
partitioning:
|
| 127 |
enabled: true
|
| 128 |
partition_by: ["binding_repo_dataset", "perturbation_repo_dataset"]
|
| 129 |
+
path_template: "dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset={binding_repo_dataset}/perturbation_repo_dataset={perturbation_repo_dataset}/*.parquet"
|
| 130 |
---
|
| 131 |
|
| 132 |
# Yeast Comparative Analysis
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=callingcards-annotated_features/perturbation_repo_dataset=hackett_2020-hackett_2020/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56e7dcc0f923a47a57b14e0fbccae899420fa8f826bc3aa9f30f1439735da2f4
|
| 3 |
+
size 86189
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=callingcards-annotated_features/perturbation_repo_dataset=hu_2007_reimand_2010-hu_2007_reimand_2010/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:087d9d6ba984bafb5f796dd67dfd09c232dc4b20ab086df104241068e046af73
|
| 3 |
+
size 27547
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=callingcards-annotated_features/perturbation_repo_dataset=hughes_2006-knockout/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bce4c10e8f5e2ef2f6fe5d0d4f5ed9820a3df1c1e89e7ebe6ff37774c0593207
|
| 3 |
+
size 8860
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=callingcards-annotated_features/perturbation_repo_dataset=hughes_2006-overexpression/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61f67d4c554cea69ede870e98e08e4bdb78dfb434cfb3e001c0251f9faf01150
|
| 3 |
+
size 9151
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=callingcards-annotated_features/perturbation_repo_dataset=kemmeren_2014-kemmeren_2014/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ee6ff61035feb096b2158b496496dc9c01acbb5107c9f098dbbd78a9cbedde5
|
| 3 |
+
size 27930
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=callingcards-annotated_features/perturbation_repo_dataset=mahendrawada_2025-rnaseq_reprocessed/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f93cf35f95771f93677828884d13107bf4fa0c047d46e766e50f6e2fc48a197f
|
| 3 |
+
size 20212
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined/perturbation_repo_dataset=hackett_2020-hackett_2020/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f9c36b3003b8ffd8136194ac705fc2e3531be3a43b3cd26fa9680d1b0b27fb6
|
| 3 |
+
size 30489
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined/perturbation_repo_dataset=hu_2007_reimand_2010-hu_2007_reimand_2010/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8fc9453069d77fd552d6c7b4dec1a8e348b5a18d6c4be657467d9458ea2a3a27
|
| 3 |
+
size 10053
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined/perturbation_repo_dataset=hughes_2006-knockout/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b1f7d15bdd8e841d2e59c7a3e671c2e7c2358ba4e9ee1939b1729107e7a315d
|
| 3 |
+
size 5958
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined/perturbation_repo_dataset=hughes_2006-overexpression/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb08a3f27edc39926460bf42be319774148ab64979e19e71ff9c02d0ee530e76
|
| 3 |
+
size 6002
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined/perturbation_repo_dataset=kemmeren_2014-kemmeren_2014/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ca7313eca53d9756c21e3eddd341268a2f75c345f2fad6cf2f84e7b98aa10c3
|
| 3 |
+
size 10405
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=mahendrawada_2025-chec_mahendrawada_m2025_af_combined/perturbation_repo_dataset=mahendrawada_2025-rnaseq_reprocessed/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc96034385e02b03fc281b3b9494c5ce47d3a7c7b9173659907995eeec09aafb
|
| 3 |
+
size 9155
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=rossi_2021-rossi_2021_af_combined/perturbation_repo_dataset=hackett_2020-hackett_2020/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30fefa73cc745dc9debd689ae7685bfb2b607a0015bcbc31a86a15012553efb5
|
| 3 |
+
size 31431
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=rossi_2021-rossi_2021_af_combined/perturbation_repo_dataset=hu_2007_reimand_2010-hu_2007_reimand_2010/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4eff84a44091da7b175fc7a034f2a3155236a76717b04fd469825f75e81d2a4f
|
| 3 |
+
size 12611
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=rossi_2021-rossi_2021_af_combined/perturbation_repo_dataset=hughes_2006-knockout/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a958ace805798ce670a9c2f666e2131e42ab94cee6dea9912a9c3c0b7c10766
|
| 3 |
+
size 5253
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=rossi_2021-rossi_2021_af_combined/perturbation_repo_dataset=hughes_2006-overexpression/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77728df8847f3db6e2d2a9a012f087f64c8a5911f579bf2c070c09eb2c1abd54
|
| 3 |
+
size 5495
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=rossi_2021-rossi_2021_af_combined/perturbation_repo_dataset=kemmeren_2014-kemmeren_2014/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:958d655695265e49c450281b32c5c212a817f3099bd97c4ff886c80d2fde9855
|
| 3 |
+
size 23363
|
dto_rossi_cc_mahendrawada_mindel/binding_repo_dataset=rossi_2021-rossi_2021_af_combined/perturbation_repo_dataset=mahendrawada_2025-rnaseq_reprocessed/part-0.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:921568ca255e7a58e0818c18e10d0a954632bd332decbe7344573fa63103869d
|
| 3 |
+
size 8414
|
scripts/dto_preparation.R
CHANGED
|
@@ -74,38 +74,58 @@ perturbation_response_data = list(
|
|
| 74 |
mutate(pvalue = 0)
|
| 75 |
)
|
| 76 |
|
| 77 |
-
composite_cc = arrow::open_dataset("~/code/hf/callingcards/annotated_features_combined") %>%
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
-
single_cc_meta = arrow::read_parquet("~/code/hf/callingcards/annotated_features_meta.parquet") %>%
|
| 83 |
-
filter(batch != "composite")
|
| 84 |
|
| 85 |
-
|
| 86 |
-
|
|
|
|
| 87 |
collect() %>%
|
| 88 |
-
left_join(single_cc_meta
|
| 89 |
-
|
|
|
|
| 90 |
|
| 91 |
# note: filter these for the mahendrawada features, too. Restricts analysis
|
| 92 |
# to only non dubious genomic loci
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
binding_data = list(
|
| 94 |
cc = single_cc %>%
|
| 95 |
-
select(intersect(colnames(.), colnames(composite_cc))) %>%
|
| 96 |
-
bind_rows(composite_cc %>%
|
| 97 |
-
select(intersect(colnames(.), colnames(single_cc)))) %>%
|
| 98 |
filter(target_locus_tag %in% mahendrawada_features$locus_tag),
|
| 99 |
-
|
| 100 |
-
replace_na(list(effect = 0, pvalue = 1)) %>%
|
| 101 |
-
group_by(sample_id, target_locus_tag) %>%
|
| 102 |
-
slice_max(abs(effect), n = 1, with_ties = FALSE) %>%
|
| 103 |
-
ungroup() %>%
|
| 104 |
-
filter(target_locus_tag %in% mahendrawada_features$locus_tag),
|
| 105 |
-
chipexo = arrow::read_parquet("~/code/hf/rossi_2021/rossi_2021_af_combined.parquet") %>%
|
| 106 |
left_join(arrow::read_parquet("~/code/hf/rossi_2021/rossi_2021_metadata_sample.parquet")) %>%
|
| 107 |
filter(target_locus_tag %in% mahendrawada_features$locus_tag),
|
| 108 |
-
mahendrawada_chec = arrow::read_parquet("~/code/hf/mahendrawada_2025/
|
| 109 |
left_join(arrow::read_parquet("~/code/hf/mahendrawada_2025/chec_mahendrawada_m2025_af_combined_meta.parquet")) %>%
|
| 110 |
filter(target_locus_tag %in% mahendrawada_features$locus_tag)
|
| 111 |
)
|
|
@@ -165,29 +185,29 @@ create_pr_dto = function(pr_data, pr_effect_col, pr_pval_col, binding_data_list)
|
|
| 165 |
pull(target_locus_tag) %>%
|
| 166 |
unique()),
|
| 167 |
|
| 168 |
-
harbison = list(
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
|
| 192 |
chipexo = list(
|
| 193 |
binding = binding_data_list$chipexo %>%
|
|
@@ -404,30 +424,30 @@ create_pr_lookups = function(pr_dataset_name, binding_pr_set_name,
|
|
| 404 |
}
|
| 405 |
|
| 406 |
# # Write out all DTOs for all PR datasets
|
| 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 |
# Summary of incomplete cases across all datasets
|
| 433 |
# incomplete_summary = map_dfr(names(lookup_results), ~{
|
|
@@ -436,5 +456,5 @@ create_pr_lookups = function(pr_dataset_name, binding_pr_set_name,
|
|
| 436 |
# mutate(pr_dataset = .x, binding_dataset = binding_name)
|
| 437 |
# })
|
| 438 |
# })
|
| 439 |
-
|
| 440 |
# print(incomplete_summary %>% count(pr_dataset, binding_dataset, missing_type))
|
|
|
|
| 74 |
mutate(pvalue = 0)
|
| 75 |
)
|
| 76 |
|
| 77 |
+
# composite_cc = arrow::open_dataset("~/code/hf/callingcards/annotated_features_combined") %>%
|
| 78 |
+
# collect() %>%
|
| 79 |
+
# left_join(arrow::read_parquet("~/code/hf/callingcards/annotated_features_combined_meta.parquet")) %>%
|
| 80 |
+
# dplyr::rename(id = genome_map_id_set)
|
| 81 |
+
|
| 82 |
+
# single_cc_meta = arrow::read_parquet("~/code/hf/callingcards/annotated_features_meta.parquet") %>%
|
| 83 |
+
# filter(batch != "composite")
|
| 84 |
+
#
|
| 85 |
+
# single_cc = arrow::open_dataset("~/code/hf/callingcards/annotated_features") %>%
|
| 86 |
+
# filter(id %in% single_cc_meta$id) %>%
|
| 87 |
+
# collect() %>%
|
| 88 |
+
# left_join(single_cc_meta) %>%
|
| 89 |
+
# mutate(id = as.character(id))
|
| 90 |
|
|
|
|
|
|
|
| 91 |
|
| 92 |
+
single_cc_meta = arrow::read_parquet("~/code/hf/callingcards/genome_map_meta.parquet")
|
| 93 |
+
|
| 94 |
+
single_cc = arrow::open_dataset("~/code/hf/callingcards/annotated_feature_mindel") %>%
|
| 95 |
collect() %>%
|
| 96 |
+
left_join(single_cc_meta,
|
| 97 |
+
by = c("genome_map_id" = "id", "batch" = "batch")) |>
|
| 98 |
+
dplyr::rename(id = genome_map_id)
|
| 99 |
|
| 100 |
# note: filter these for the mahendrawada features, too. Restricts analysis
|
| 101 |
# to only non dubious genomic loci
|
| 102 |
+
# binding_data = list(
|
| 103 |
+
# cc = single_cc %>%
|
| 104 |
+
# select(intersect(colnames(.), colnames(composite_cc))) %>%
|
| 105 |
+
# bind_rows(composite_cc %>%
|
| 106 |
+
# select(intersect(colnames(.), colnames(single_cc)))) %>%
|
| 107 |
+
# filter(target_locus_tag %in% mahendrawada_features$locus_tag),
|
| 108 |
+
# harbison = arrow::read_parquet("~/code/hf/harbison_2004/harbison_2004.parquet") %>%
|
| 109 |
+
# replace_na(list(effect = 0, pvalue = 1)) %>%
|
| 110 |
+
# group_by(sample_id, target_locus_tag) %>%
|
| 111 |
+
# slice_max(abs(effect), n = 1, with_ties = FALSE) %>%
|
| 112 |
+
# ungroup() %>%
|
| 113 |
+
# filter(target_locus_tag %in% mahendrawada_features$locus_tag),
|
| 114 |
+
# chipexo = arrow::read_parquet("~/code/hf/rossi_2021/rossi_2021_af_combined.parquet") %>%
|
| 115 |
+
# left_join(arrow::read_parquet("~/code/hf/rossi_2021/rossi_2021_metadata_sample.parquet")) %>%
|
| 116 |
+
# filter(target_locus_tag %in% mahendrawada_features$locus_tag),
|
| 117 |
+
# mahendrawada_chec = arrow::read_parquet("~/code/hf/mahendrawada_2025/chec_mahendrawada_m2025_af_combined.parquet") %>%
|
| 118 |
+
# left_join(arrow::read_parquet("~/code/hf/mahendrawada_2025/chec_mahendrawada_m2025_af_combined_meta.parquet")) %>%
|
| 119 |
+
# filter(target_locus_tag %in% mahendrawada_features$locus_tag)
|
| 120 |
+
# )
|
| 121 |
+
|
| 122 |
binding_data = list(
|
| 123 |
cc = single_cc %>%
|
|
|
|
|
|
|
|
|
|
| 124 |
filter(target_locus_tag %in% mahendrawada_features$locus_tag),
|
| 125 |
+
chipexo = arrow::read_parquet("~/code/hf/rossi_2021/rossi_2021_af_combined_mindel.parquet") %>%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
left_join(arrow::read_parquet("~/code/hf/rossi_2021/rossi_2021_metadata_sample.parquet")) %>%
|
| 127 |
filter(target_locus_tag %in% mahendrawada_features$locus_tag),
|
| 128 |
+
mahendrawada_chec = arrow::read_parquet("~/code/hf/mahendrawada_2025/chec_mahendrawada_m2025_af_combined_mindel.parquet") %>%
|
| 129 |
left_join(arrow::read_parquet("~/code/hf/mahendrawada_2025/chec_mahendrawada_m2025_af_combined_meta.parquet")) %>%
|
| 130 |
filter(target_locus_tag %in% mahendrawada_features$locus_tag)
|
| 131 |
)
|
|
|
|
| 185 |
pull(target_locus_tag) %>%
|
| 186 |
unique()),
|
| 187 |
|
| 188 |
+
# harbison = list(
|
| 189 |
+
# binding = binding_data_list$harbison %>%
|
| 190 |
+
# filter(regulator_locus_tag != target_locus_tag) %>%
|
| 191 |
+
# filter(pvalue <= 0.1) %>%
|
| 192 |
+
# filter(regulator_locus_tag %in% unique(pr_standardized$regulator_locus_tag),
|
| 193 |
+
# target_locus_tag %in% unique(pr_standardized$target_locus_tag)) %>%
|
| 194 |
+
# group_by(sample_id) %>%
|
| 195 |
+
# arrange(desc(effect)) %>%
|
| 196 |
+
# mutate(pvalue_rank = rank(pvalue, ties.method = 'min')) %>%
|
| 197 |
+
# group_by(sample_id),
|
| 198 |
+
# pr = pr_standardized %>%
|
| 199 |
+
# filter(pvalue <= 0.1) %>%
|
| 200 |
+
# filter(regulator_locus_tag %in% unique(binding_data_list$harbison$regulator_locus_tag),
|
| 201 |
+
# target_locus_tag %in% unique(binding_data_list$harbison$target_locus_tag)) %>%
|
| 202 |
+
# group_by(sample_id) %>%
|
| 203 |
+
# mutate(abs_effect_rank = rank(-abs(effect), ties.method = 'min'),
|
| 204 |
+
# pvalue_rank = rank(pvalue, ties.method = 'min')) %>%
|
| 205 |
+
# group_by(sample_id),
|
| 206 |
+
# background = pr_standardized %>%
|
| 207 |
+
# filter(regulator_locus_tag %in% unique(binding_data_list$harbison$regulator_locus_tag),
|
| 208 |
+
# target_locus_tag %in% unique(binding_data_list$harbison$target_locus_tag)) %>%
|
| 209 |
+
# pull(target_locus_tag) %>%
|
| 210 |
+
# unique()),
|
| 211 |
|
| 212 |
chipexo = list(
|
| 213 |
binding = binding_data_list$chipexo %>%
|
|
|
|
| 424 |
}
|
| 425 |
|
| 426 |
# # Write out all DTOs for all PR datasets
|
| 427 |
+
lookup_results = list()
|
| 428 |
+
|
| 429 |
+
dto_input_outdir = here("results/dto")
|
| 430 |
+
for (pr_name in names(all_pr_dtos)) {
|
| 431 |
+
lookup_results[[pr_name]] = list()
|
| 432 |
+
|
| 433 |
+
for (binding_name in names(all_pr_dtos[[pr_name]])) {
|
| 434 |
+
write_out_pr_dto_lists(pr_name, binding_name, all_pr_dtos)
|
| 435 |
+
|
| 436 |
+
lookup_result = create_pr_lookups(pr_name, binding_name, all_pr_dtos)
|
| 437 |
+
lookup_results[[pr_name]][[binding_name]] = lookup_result
|
| 438 |
+
|
| 439 |
+
# Write complete lookups only
|
| 440 |
+
lookup_result$lookup %>%
|
| 441 |
+
write_tsv(file.path(dto_input_outdir, pr_name, binding_name, "lookup.txt"),
|
| 442 |
+
col_names = FALSE)
|
| 443 |
+
|
| 444 |
+
# Write incomplete cases for reference
|
| 445 |
+
if (nrow(lookup_result$incomplete_after_filtering) > 0) {
|
| 446 |
+
lookup_result$incomplete_after_filtering %>%
|
| 447 |
+
write_csv(file.path(dto_input_outdir, pr_name, binding_name, "incomplete.csv"))
|
| 448 |
+
}
|
| 449 |
+
}
|
| 450 |
+
}
|
| 451 |
|
| 452 |
# Summary of incomplete cases across all datasets
|
| 453 |
# incomplete_summary = map_dfr(names(lookup_results), ~{
|
|
|
|
| 456 |
# mutate(pr_dataset = .x, binding_dataset = binding_name)
|
| 457 |
# })
|
| 458 |
# })
|
| 459 |
+
#
|
| 460 |
# print(incomplete_summary %>% count(pr_dataset, binding_dataset, missing_type))
|
scripts/parse_dto_results.R
CHANGED
|
@@ -4,16 +4,17 @@ library(here)
|
|
| 4 |
|
| 5 |
dto_results_lookup = expand_grid(
|
| 6 |
pr_source = c("hackett", "hughes_oe", "hughes_ko", "hu_reimand", "kemmeren", "mahendrawada_rnaseq"),
|
| 7 |
-
binding_source = c("cc", "chipexo", "harbison", "mahendrawada_chec"),
|
| 8 |
-
|
|
|
|
| 9 |
mutate(
|
| 10 |
-
result_file = map(file.path(here("results/
|
| 11 |
pr_source,
|
| 12 |
binding_source, "results",
|
| 13 |
pr_ranking_column),
|
| 14 |
~list.files(.x, full.names = TRUE))) %>%
|
| 15 |
unnest(result_file) %>%
|
| 16 |
-
mutate(tmp = str_remove(basename(result_file), ".json")) %>%
|
| 17 |
separate_wider_delim(tmp,
|
| 18 |
names = c('binding_id', 'perturbation_id'),
|
| 19 |
delim = "-_-")
|
|
@@ -68,63 +69,130 @@ dto_results_list = future_imap(dto_results_lookup$result_file, ~{
|
|
| 68 |
|
| 69 |
dto_results_df = bind_cols(dto_results_lookup, bind_rows(dto_results_list))
|
| 70 |
|
| 71 |
-
hf_results_df = dto_results_df %>%
|
| 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 |
# note that the deprecated directory is ignored in yeast_comparative_analysis.
|
|
|
|
| 4 |
|
| 5 |
dto_results_lookup = expand_grid(
|
| 6 |
pr_source = c("hackett", "hughes_oe", "hughes_ko", "hu_reimand", "kemmeren", "mahendrawada_rnaseq"),
|
| 7 |
+
# binding_source = c("cc", "chipexo", "harbison", "mahendrawada_chec"),
|
| 8 |
+
binding_source = c("cc", "chipexo", "mahendrawada_chec"),
|
| 9 |
+
pr_ranking_column = c("effect", "pvalue")) %>%
|
| 10 |
mutate(
|
| 11 |
+
result_file = map(file.path(here("results/processed"),
|
| 12 |
pr_source,
|
| 13 |
binding_source, "results",
|
| 14 |
pr_ranking_column),
|
| 15 |
~list.files(.x, full.names = TRUE))) %>%
|
| 16 |
unnest(result_file) %>%
|
| 17 |
+
mutate(tmp = str_remove(basename(result_file), "_results.json")) %>%
|
| 18 |
separate_wider_delim(tmp,
|
| 19 |
names = c('binding_id', 'perturbation_id'),
|
| 20 |
delim = "-_-")
|
|
|
|
| 69 |
|
| 70 |
dto_results_df = bind_cols(dto_results_lookup, bind_rows(dto_results_list))
|
| 71 |
|
| 72 |
+
# hf_results_df = dto_results_df %>%
|
| 73 |
+
# mutate(
|
| 74 |
+
# binding_id = case_when(
|
| 75 |
+
# binding_source == "cc"
|
| 76 |
+
# ~ paste0("BrentLab/callingcards;annotated_feature_reprocess_mindel;",
|
| 77 |
+
# binding_id),
|
| 78 |
+
# binding_source == "chipexo"
|
| 79 |
+
# ~ paste0("BrentLab/rossi_2021;rossi_2021_af_combined_mindel;",
|
| 80 |
+
# binding_id),
|
| 81 |
+
# binding_source == "mahendrawada_chec"
|
| 82 |
+
# ~ paste0("BrentLab/mahendrawada_2025;chec_mahendrawada_m2025_af_combined_mindel;",
|
| 83 |
+
# binding_id)),
|
| 84 |
+
# perturbation_id = case_when(
|
| 85 |
+
# pr_source == "hackett" ~ paste0("BrentLab/hackett_2020;hackett_2020;", perturbation_id),
|
| 86 |
+
# pr_source == "hughes_oe" ~ paste0("BrentLab/hughes_2006;overexpression;", perturbation_id),
|
| 87 |
+
# pr_source == "hughes_ko" ~ paste0("BrentLab/hughes_2006;knockout;", perturbation_id),
|
| 88 |
+
# pr_source == "hu_reimand" ~ paste0("BrentLab/hu_2007_reimand_2010;hu_2007_reimand_2010;", perturbation_id),
|
| 89 |
+
# pr_source == "kemmeren" ~ paste0("BrentLab/kemmeren_2014;kemmeren_2014;", perturbation_id),
|
| 90 |
+
# pr_source == "mahendrawada_rnaseq" ~ paste0("BrentLab/mahendrawada_2025;rnaseq_reprocessed;", perturbation_id),
|
| 91 |
+
# .default = "ERROR"),
|
| 92 |
+
# binding_repo_dataset = case_when(
|
| 93 |
+
# binding_source == "cc" & str_detect(binding_id, "-")
|
| 94 |
+
# ~ "callingcards-annotated_features_combined",
|
| 95 |
+
# binding_source == "cc" & str_detect(binding_id, "-", negate=TRUE)
|
| 96 |
+
# ~ "callingcards-annotated_features",
|
| 97 |
+
# binding_source == "chipexo"
|
| 98 |
+
# ~ "rossi_2021-rossi_2021_af_combined",
|
| 99 |
+
# binding_source == "harbison"
|
| 100 |
+
# ~ paste0("harbison_2004-harbison_2004"),
|
| 101 |
+
# binding_source == "mahendrawada_chec"
|
| 102 |
+
# ~ "mahendrawada_2025-chec_mahendrawada_m2025_af_combined"),
|
| 103 |
+
# perturbation_repo_dataset = case_when(
|
| 104 |
+
# pr_source == "hackett" ~ paste0("hackett_2020-hackett_2020"),
|
| 105 |
+
# pr_source == "hughes_oe" ~ paste0("hughes_2006-overexpression"),
|
| 106 |
+
# pr_source == "hughes_ko" ~ paste0("hughes_2006-knockout"),
|
| 107 |
+
# pr_source == "hu_reimand" ~ paste0("hu_2007_reimand_2010-hu_2007_reimand_2010"),
|
| 108 |
+
# pr_source == "kemmeren" ~ paste0("kemmeren_2014-kemmeren_2014"),
|
| 109 |
+
# pr_source == "mahendrawada_rnaseq" ~ paste0("mahendrawada_2025-rnaseq_reprocessed"),
|
| 110 |
+
# .default = "ERROR")) %>%
|
| 111 |
+
# dplyr::rename(binding_rank_threshold = rank1,
|
| 112 |
+
# perturbation_rank_threshold = rank2,
|
| 113 |
+
# binding_set_size = set1_len,
|
| 114 |
+
# perturbation_set_size = set2_len,
|
| 115 |
+
# dto_fdr = fdr,
|
| 116 |
+
# dto_empirical_pvalue = empirical_pvalue) %>%
|
| 117 |
+
# select(binding_id, perturbation_id,
|
| 118 |
+
# binding_rank_threshold, perturbation_rank_threshold,
|
| 119 |
+
# binding_set_size, perturbation_set_size,
|
| 120 |
+
# dto_fdr, dto_empirical_pvalue,
|
| 121 |
+
# pr_ranking_column,
|
| 122 |
+
# binding_repo_dataset, perturbation_repo_dataset)
|
| 123 |
+
|
| 124 |
+
# arrow::write_dataset(
|
| 125 |
+
# hf_results_df,
|
| 126 |
+
# path = "/home/chase/code/hf/yeast_comparative_analysis/dto_rossi_cc_mahendrawada_mindel",
|
| 127 |
+
# format = "parquet",
|
| 128 |
+
# partitioning = c("binding_repo_dataset", "perturbation_repo_dataset"),
|
| 129 |
+
# existing_data_behavior = "overwrite",
|
| 130 |
+
# compression = "zstd",
|
| 131 |
+
# write_statistics = TRUE,
|
| 132 |
+
# use_dictionary = c(
|
| 133 |
+
# binding_id = TRUE,
|
| 134 |
+
# perturbation_id = TRUE
|
| 135 |
+
# )
|
| 136 |
+
# )
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
# hf_results_df = dto_results_df %>%
|
| 140 |
+
# mutate(
|
| 141 |
+
# binding_id = case_when(
|
| 142 |
+
# binding_source == "cc" & str_detect(binding_id, "-")
|
| 143 |
+
# ~ paste0("BrentLab/callingcards;annotated_features_combined;",
|
| 144 |
+
# binding_id),
|
| 145 |
+
# binding_source == "cc" & str_detect(binding_id, "-", negate=TRUE)
|
| 146 |
+
# ~ paste0("BrentLab/callingcards;annotated_features;",
|
| 147 |
+
# binding_id),
|
| 148 |
+
# binding_source == "chipexo"
|
| 149 |
+
# ~ paste0("BrentLab/rossi_2021;rossi_2021_af_combined;",
|
| 150 |
+
# binding_id),
|
| 151 |
+
# binding_source == "harbison"
|
| 152 |
+
# ~ paste0("BrentLab/harbison_2004;harbison_2004;",
|
| 153 |
+
# binding_id),
|
| 154 |
+
# binding_source == "mahendrawada_chec"
|
| 155 |
+
# ~ paste0("BrentLab/mahendrawada_2025;chec_mahendrawada_m2025_af_combined;",
|
| 156 |
+
# binding_id)),
|
| 157 |
+
# perturbation_id = case_when(
|
| 158 |
+
# pr_source == "hackett" ~ paste0("BrentLab/hackett_2020;hackett_2020;", perturbation_id),
|
| 159 |
+
# pr_source == "hughes_oe" ~ paste0("BrentLab/hughes_2006;overexpression;", perturbation_id),
|
| 160 |
+
# pr_source == "hughes_ko" ~ paste0("BrentLab/hughes_2006;knockout;", perturbation_id),
|
| 161 |
+
# pr_source == "hu_reimand" ~ paste0("BrentLab/hu_2007_reimand_2010;hu_2007_reimand_2010;", perturbation_id),
|
| 162 |
+
# pr_source == "kemmeren" ~ paste0("BrentLab/kemmeren_2014;kemmeren_2014;", perturbation_id),
|
| 163 |
+
# pr_source == "mahendrawada_rnaseq" ~ paste0("BrentLab/mahendrawada_2025;rnaseq_reprocessed;", perturbation_id),
|
| 164 |
+
# .default = "ERROR"),
|
| 165 |
+
# binding_repo_dataset = case_when(
|
| 166 |
+
# binding_source == "cc" & str_detect(binding_id, "-")
|
| 167 |
+
# ~ "callingcards-annotated_features_combined",
|
| 168 |
+
# binding_source == "cc" & str_detect(binding_id, "-", negate=TRUE)
|
| 169 |
+
# ~ "callingcards-annotated_features",
|
| 170 |
+
# binding_source == "chipexo"
|
| 171 |
+
# ~ "rossi_2021-rossi_2021_af_combined",
|
| 172 |
+
# binding_source == "harbison"
|
| 173 |
+
# ~ paste0("harbison_2004-harbison_2004"),
|
| 174 |
+
# binding_source == "mahendrawada_chec"
|
| 175 |
+
# ~ "mahendrawada_2025-chec_mahendrawada_m2025_af_combined"),
|
| 176 |
+
# perturbation_repo_dataset = case_when(
|
| 177 |
+
# pr_source == "hackett" ~ paste0("hackett_2020-hackett_2020"),
|
| 178 |
+
# pr_source == "hughes_oe" ~ paste0("hughes_2006-overexpression"),
|
| 179 |
+
# pr_source == "hughes_ko" ~ paste0("hughes_2006-knockout"),
|
| 180 |
+
# pr_source == "hu_reimand" ~ paste0("hu_2007_reimand_2010-hu_2007_reimand_2010"),
|
| 181 |
+
# pr_source == "kemmeren" ~ paste0("kemmeren_2014-kemmeren_2014"),
|
| 182 |
+
# pr_source == "mahendrawada_rnaseq" ~ paste0("mahendrawada_2025-rnaseq_reprocessed"),
|
| 183 |
+
# .default = "ERROR")) %>%
|
| 184 |
+
# dplyr::rename(binding_rank_threshold = rank1,
|
| 185 |
+
# perturbation_rank_threshold = rank2,
|
| 186 |
+
# binding_set_size = set1_len,
|
| 187 |
+
# perturbation_set_size = set2_len,
|
| 188 |
+
# dto_fdr = fdr,
|
| 189 |
+
# dto_empirical_pvalue = empirical_pvalue) %>%
|
| 190 |
+
# select(binding_id, perturbation_id,
|
| 191 |
+
# binding_rank_threshold, perturbation_rank_threshold,
|
| 192 |
+
# binding_set_size, perturbation_set_size,
|
| 193 |
+
# dto_fdr, dto_empirical_pvalue,
|
| 194 |
+
# pr_ranking_column,
|
| 195 |
+
# binding_repo_dataset, perturbation_repo_dataset)
|
| 196 |
|
| 197 |
|
| 198 |
# note that the deprecated directory is ignored in yeast_comparative_analysis.
|