Skip to content

Commit

Permalink
Missed an instance when renaming columns
Browse files Browse the repository at this point in the history
  • Loading branch information
jashapiro committed Nov 27, 2024
1 parent dc10c02 commit 1a5a7d5
Show file tree
Hide file tree
Showing 2 changed files with 426 additions and 213 deletions.
4 changes: 2 additions & 2 deletions data-raw/build_gene_reference.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ How many of the gene symbols in the 10x 2020 reference are in the ScPCA data, bu

```{r}
symbols_10x2020 <- scpca_missing$gene_symbol_10x2020[!is.na(scpca_missing$gene_symbol_10x2020)]
sum(symbols_10x2020 %in% genes_scpca$gene_symbol)
sum(symbols_10x2020 %in% genes_scpca$gene_symbol_scpca)
```

What are they?
Expand All @@ -112,7 +112,7 @@ What are they?
# Only for those where the gene id is missing in the ScPCA table
genes_10x2020 |>
filter(
gene_symbol_10x2020 %in% genes_scpca$gene_symbol,
gene_symbol_10x2020 %in% genes_scpca$gene_symbol_scpca,
!gene_ids %in% genes_scpca$gene_ids
) |>
left_join(genes_scpca, by = c("gene_symbol_10x2020" = "gene_symbol_scpca"))
Expand Down
Loading

0 comments on commit 1a5a7d5

Please sign in to comment.