Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hello-clusters notebook: Perform and evaluate clustering #874

Merged
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
3b2cc56
WIP: began sketching out notebook to eval clustering
sjspielman Nov 8, 2024
d6414e9
Continued WIP: begin to flesh out sections, some reorg as it comes to…
sjspielman Nov 11, 2024
ecf1d09
WIP: much progress. Code basically complete and most text complete
sjspielman Nov 11, 2024
aa3d207
final touchups to complete the first draft of this notebook, and left…
sjspielman Nov 12, 2024
25778f2
update README
sjspielman Nov 12, 2024
bd59389
add line to run this notebook, and chmod
sjspielman Nov 12, 2024
7b61e9b
Turn on GHA on PRs, update data download, and run module script
sjspielman Nov 12, 2024
adc43bf
samples flag is plural
sjspielman Nov 12, 2024
a6623e6
dont need repo name with renv::update
sjspielman Nov 12, 2024
039ad4c
bump ropenscpca for calculate_stability usage
sjspielman Nov 12, 2024
a262ffc
update ropenscpca
sjspielman Nov 12, 2024
a99e962
need igraph deps
sjspielman Nov 12, 2024
464fc2a
missing a quote. sad.
sjspielman Nov 12, 2024
dab73e2
Merge branch 'main' into sjspielman/796-hello-clusters-nb1
sjspielman Nov 13, 2024
4f68ca9
response to reviews: add parentheses for functions, just use backtick…
sjspielman Nov 13, 2024
0a7ed18
one seed to rule them all, and fix yaml
sjspielman Nov 13, 2024
26045f0
WIP: rearranging notebook
sjspielman Nov 14, 2024
6534d6d
Continuing notebook reorg, added code for a seurat section for which …
sjspielman Nov 14, 2024
7b9ea6c
WIP: delete extra text, and dont do stability with seurat
sjspielman Nov 14, 2024
15f4a24
Finish notebook rearrangement
sjspielman Nov 15, 2024
de4b1ce
Merge branch 'main' into sjspielman/796-hello-clusters-nb1
sjspielman Nov 15, 2024
32a401f
fix header depth
sjspielman Nov 15, 2024
a8c3f29
fix wording
sjspielman Nov 15, 2024
cddab18
Add missing chunk name, and regenerate with script
sjspielman Nov 15, 2024
3953290
rm seed param and hardcode, and regenerate for real
sjspielman Nov 15, 2024
a447bdf
Apply suggestions from code review
sjspielman Dec 13, 2024
d037180
Merge branch 'main' into sjspielman/796-hello-clusters-nb1
sjspielman Dec 13, 2024
d222606
update renv to most recent ropenscpca
sjspielman Dec 13, 2024
ac1febf
respond to reviews, and use rOpenScPCA:: throughout
sjspielman Dec 13, 2024
614c926
rerender notebook
sjspielman Dec 13, 2024
66f651f
rearrange calculating qc metrics on existing clusters
sjspielman Dec 13, 2024
22e3670
speeling and less printing
sjspielman Dec 13, 2024
302d17e
Merge branch 'main' into sjspielman/796-hello-clusters-nb1
sjspielman Dec 16, 2024
b9f0579
add some simple plots with a color i like that may not survive review
sjspielman Dec 16, 2024
34a2218
simpler saving
sjspielman Dec 16, 2024
a481799
Merge branch 'main' into sjspielman/796-hello-clusters-nb1
sjspielman Dec 17, 2024
dad9669
moar colors
sjspielman Dec 17, 2024
3996b35
update how metadata clustering params are presented, printed, and used
sjspielman Dec 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions .github/workflows/run_hello-clusters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ concurrency:

on:
workflow_dispatch:
# workflow_call:
# pull_request:
# branches:
# - main
# paths:
# - analyses/hello-clusters/**
# - "!analyses/hello-clusters/Dockerfile"
# - "!analyses/hello-clusters/.dockerignore"
# - .github/workflows/run_hello-clusters.yml
workflow_call:
pull_request:
branches:
- main
paths:
- analyses/hello-clusters/**
- "!analyses/hello-clusters/Dockerfile"
- "!analyses/hello-clusters/.dockerignore"
- .github/workflows/run_hello-clusters.yml

jobs:
run-module:
Expand All @@ -47,16 +47,20 @@ jobs:
- name: Set up pandoc
uses: r-lib/actions/setup-pandoc@v2

- name: Install additional system dependencies
run: |
sudo apt-get install -y libcurl4-openssl-dev libglpk40
- name: Set up renv
uses: r-lib/actions/setup-renv@v2
with:
working-directory: ${{ env.MODULE_PATH }}

# Update this step as needed to download the desired data
- name: Download test data
run: ./download-data.py --test-data --format SCE
run: ./download-data.py --test-data --format SCE --samples SCPCS000001

- name: Run analysis module
run: |
cd ${MODULE_PATH}
# run module script(s) here
./run_hello-clusters.sh
Loading