Skip to content

Commit

Permalink
update action & qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Sep 3, 2024
1 parent 3dd714f commit bdc66da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up specific version of Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install R
uses: r-lib/actions/setup-r@v2

Expand All @@ -33,7 +38,7 @@ jobs:
# path: |
# _freeze
# .pixi
# key: ${{ runner.os }}
# key: pixi_${{ runner.os }}

# - name: Set up dependencies
# run: pixi install -e dev
Expand All @@ -50,6 +55,7 @@ jobs:
with:
path: |
_freeze
key: renv_${{ runner.os }}

- name: Render slides
run: |
Expand Down
15 changes: 3 additions & 12 deletions notebooks/usecase.qmd
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: "Use-case"
engine: knitr
bibliography: ../book/references.bib
---

The provided dataset is a perturb-seq dataset that was generated as part of an OpenProblems competition on predicting how small molecules change gene expression in different cell types [^kaggle]. The winners of the competition have since been added to the OpenProblems Perturbation Prediction benchmarking task [^op].
The provided dataset is a perturb-seq dataset that was generated as part of an OpenProblems competition on predicting how small molecules change gene expression in different cell types [@kaggle-op3]. The winners of the competition have since been added to the OpenProblems Perturbation Prediction benchmarking task [@openproblems-op].

As part of the competition, competitors received the differential gene expression (DGE) of genes in cell types treated with different small molecules, and had to predict the DGE of genes in cell types of which some small molecules were withheld. The task is illustrated in the figure below [@fig-dge].

Expand All @@ -19,7 +20,7 @@ We will use the dataset to illustrate how to perform the following steps.

## 1. Retrieving the data

The dataset has since been uploaded to SRA [^sra], will be uploaded to GEO, and is currently available from S3 [^s3].
The dataset has since been uploaded to SRA [@sra-op3], will be uploaded to GEO, and is currently available from S3 [@s3-op3].

If you haven't already, you can download the dataset from S3 using the following command:

Expand Down Expand Up @@ -151,13 +152,3 @@ Write to disk:
write.csv(res, "usecase_data/de_contrasts.csv")
```


## Footnotes

[^kaggle]: Kaggle: Open Problems - Single Cell Perturbations - https://www.kaggle.com/competitions/open-problems-single-cell-perturbations/overview

[^op]: OpenProblems - Perturbation Prediction - https://openproblems.bio/results/perturbation_prediction/

[^sra]: SRA PRJNA1149320 - Open Problems Perurbation Prediction dataset - https://www.ncbi.nlm.nih.gov/bioproject/PRJNA1149320

[^s3]: H5AD dataset on AWS S3 - https://openproblems-bio.s3.amazonaws.com/public/neurips-2023-competition/sc_counts_reannotated_with_counts.h5ad

0 comments on commit bdc66da

Please sign in to comment.