Upload pull_gse65682.R with huggingface_hub
Browse files- pull_gse65682.R +2 -2
pull_gse65682.R
CHANGED
|
@@ -111,7 +111,7 @@ gse65682_feature_metadata <- anno_u219 |>
|
|
| 111 |
ungroup() |>
|
| 112 |
mutate(across(c(ENSEMBL, UNIPROT), ~ na_if(.x, ""))) |>
|
| 113 |
rename(feature_id = PROBEID) |>
|
| 114 |
-
right_join(tibble(feature_id = your_probes_mars), by = "
|
| 115 |
|
| 116 |
stopifnot(nrow(gse65682_feature_metadata) == length(your_probes_mars))
|
| 117 |
stopifnot(!any(duplicated(gse65682_feature_metadata$feature_id)))
|
|
@@ -124,7 +124,7 @@ gse65682_expr_long <- as_tibble(exprs(gset), rownames = "feature_id") |>
|
|
| 124 |
|
| 125 |
stopifnot(nrow(gse65682_expr_long) == nrow(exprs(gset)) * ncol(exprs(gset)))
|
| 126 |
stopifnot(all(unique(gse65682_expr_long$sample_id) %in% gse65682_metadata$sample_id))
|
| 127 |
-
stopifnot(all(unique(gse65682_expr_long$
|
| 128 |
|
| 129 |
stopifnot(!any(duplicated(gse65682_metadata$sample_id)))
|
| 130 |
stopifnot(nrow(gse65682_metadata) == 802)
|
|
|
|
| 111 |
ungroup() |>
|
| 112 |
mutate(across(c(ENSEMBL, UNIPROT), ~ na_if(.x, ""))) |>
|
| 113 |
rename(feature_id = PROBEID) |>
|
| 114 |
+
right_join(tibble(feature_id = your_probes_mars), by = "feature_id")
|
| 115 |
|
| 116 |
stopifnot(nrow(gse65682_feature_metadata) == length(your_probes_mars))
|
| 117 |
stopifnot(!any(duplicated(gse65682_feature_metadata$feature_id)))
|
|
|
|
| 124 |
|
| 125 |
stopifnot(nrow(gse65682_expr_long) == nrow(exprs(gset)) * ncol(exprs(gset)))
|
| 126 |
stopifnot(all(unique(gse65682_expr_long$sample_id) %in% gse65682_metadata$sample_id))
|
| 127 |
+
stopifnot(all(unique(gse65682_expr_long$feature_id) %in% gse65682_feature_metadata$feature_id))
|
| 128 |
|
| 129 |
stopifnot(!any(duplicated(gse65682_metadata$sample_id)))
|
| 130 |
stopifnot(nrow(gse65682_metadata) == 802)
|