Skip to content

Commit

Permalink
only map over relevant sample ids, and knit updated notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
sjspielman committed Nov 1, 2024
1 parent 742e77e commit 79ceef2
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 127 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,13 @@ the following information per cell:
sample_metadata_file <- file.path(repository_base, "data", "current", "SCPCP000006", "single_cell_metadata.tsv")
metadata <- read.table(sample_metadata_file, sep = "\t", header = TRUE)
sample_ids <- metadata |>
dplyr::filter(seq_unit != "spot") |>
dplyr::pull(scpca_sample_id) |>
unique()
# Create a data frames of all annotations
cell_type_df <- unique(metadata$scpca_sample_id) |>
cell_type_df <- sample_ids |>
purrr::map(
# For each sample_id, do the following:
\(sample_id) {
Expand Down
Loading

0 comments on commit 79ceef2

Please sign in to comment.