Datasets:
Upload folder using huggingface_hub
Browse files- scripts/parse_mcisaac_data.R +17 -5
scripts/parse_mcisaac_data.R
CHANGED
|
@@ -86,8 +86,20 @@ mcisaac_GeneName_to_target_locus_tag = mcisaac_for_parquet %>%
|
|
| 86 |
select(GeneName, target_locus_tag) %>%
|
| 87 |
distinct()
|
| 88 |
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
select(GeneName, target_locus_tag) %>%
|
| 87 |
distinct()
|
| 88 |
|
| 89 |
+
mcisaac_for_parquet %>%
|
| 90 |
+
select(regulator_locus_tag, regulator_symbol, target_locus_tag, target_symbol,
|
| 91 |
+
time, mechanism, restriction, date, strain,
|
| 92 |
+
ends_with("median"), starts_with("log2")) %>%
|
| 93 |
+
write_parquet("~/code/hf/hackett_2020/hackett_2020.parquet",
|
| 94 |
+
compression = "zstd",
|
| 95 |
+
write_statistics = TRUE,
|
| 96 |
+
use_dictionary = c(
|
| 97 |
+
regulator_locus_tag = TRUE,
|
| 98 |
+
regulator_symbol = TRUE,
|
| 99 |
+
target_locus_tag = TRUE,
|
| 100 |
+
target_symbol = TRUE,
|
| 101 |
+
time = TRUE,
|
| 102 |
+
mechanism = TRUE,
|
| 103 |
+
restriction = TRUE,
|
| 104 |
+
date = TRUE,
|
| 105 |
+
strain = TRUE))
|