Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
a26a831
test code for new service
leburnett Oct 2, 2025
3c00285
Merge branch 'main' into issue_78_part_2
leburnett Oct 3, 2025
11500a5
Create scatterplot_service.py
leburnett Oct 3, 2025
29dcb2f
Merge branch 'main' into issue_78_part_2
leburnett Oct 3, 2025
1a92eab
test
leburnett Oct 4, 2025
53fa0f4
Merge branch 'main' into issue_78_part_2
leburnett Oct 4, 2025
d20bc37
add testing code
leburnett Oct 6, 2025
6345726
Update test_scatter.py
leburnett Oct 6, 2025
3d6d15a
Update test_scatter.py
leburnett Oct 6, 2025
18efed5
Merge branch 'main' into issue_78_part_2
leburnett Oct 7, 2025
8f7fbb8
Update cache_service.py
leburnett Oct 7, 2025
8570162
Update scatterplot_service.py
leburnett Oct 7, 2025
f20a4b4
Update generate-all workflow to incl scatters
leburnett Oct 7, 2025
dd68d22
Update scatterplot.svg.jinja
leburnett Oct 7, 2025
daedd4a
update neuron page templates for scatterplots
leburnett Oct 7, 2025
42d88a1
Update scatterplots.html.jinja
leburnett Oct 7, 2025
89767f2
Update scatterplot.svg.jinja
leburnett Oct 7, 2025
664ed29
Create scatter_config.py
leburnett Oct 7, 2025
1dad452
Update scatterplot_service.py
leburnett Oct 7, 2025
a297a99
Bump version to v2.7.8
leburnett Oct 8, 2025
8eae233
Update cli.py
leburnett Oct 8, 2025
1de1439
some updates
leburnett Oct 8, 2025
b56150c
Update pyproject.toml
leburnett Oct 8, 2025
ddc42af
Update scatterplot_service.py
leburnett Oct 8, 2025
213e9bf
Update scatter_config.py
leburnett Oct 8, 2025
efcc6cf
update scatter templates svg and html
leburnett Oct 8, 2025
e9d00f4
Remove output dir from command
leburnett Oct 9, 2025
1fa5a27
Move config
leburnett Oct 9, 2025
dcdc4c4
Update scatterplot_service.py
leburnett Oct 9, 2025
10b3731
update templates
leburnett Oct 9, 2025
7f7ebea
Update neuron-page.js
leburnett Oct 9, 2025
54abd4b
make plots square
leburnett Oct 9, 2025
36d40ea
Remove download button for now.
leburnett Oct 10, 2025
eb19996
Delete test_scatter.py
leburnett Oct 10, 2025
f55a261
Delete my_file.pkl
leburnett Oct 10, 2025
86caaf1
Merge branch 'main' into issue_78_part_2
leburnett Oct 10, 2025
1d5516e
Update neuron_page_scripts.html.jinja
leburnett Oct 10, 2025
b8b91d9
Update pyproject.toml
leburnett Oct 10, 2025
531e1d0
Bump version to v2.7.9
leburnett Oct 10, 2025
92d5363
Explicitly search for neuron name
leburnett Oct 10, 2025
0e49d86
Update pyproject.toml
leburnett Oct 10, 2025
f8ea63b
Update cache_service.py
leburnett Oct 10, 2025
95c19c3
Remove plot_data function from index service
leburnett Oct 10, 2025
fabfa13
remove test, update config
leburnett Oct 10, 2025
5624190
black formatting
leburnett Oct 10, 2025
61357ec
Update pyproject.toml
leburnett Oct 10, 2025
7931a33
Update pixi.lock to match pyproject.toml
leburnett Oct 10, 2025
a987ad0
Merge branch 'main' into issue_78_part_2
leburnett Oct 10, 2025
1351c16
Update scatterplot.svg.jinja
leburnett Oct 20, 2025
b7172f1
Update pixi.lock
leburnett Oct 20, 2025
2556bc9
Remove exit when no data found for scatter
leburnett Nov 20, 2025
887bc6b
Merge branch 'main' into issue_78_part_2
leburnett Nov 20, 2025
3d26f1f
Update pixi.lock
leburnett Nov 20, 2025
9b6d785
remove threshold from scatterplot gen
leburnett Nov 25, 2025
315a3a8
Merge branch 'main' into issue_78_part_2
floesche Nov 26, 2025
3eba48a
minor formatting fixes
floesche Nov 26, 2025
a66a15c
Merge branch 'main' into issue_78_part_2
leburnett Dec 1, 2025
c0a0b7a
update tooltip box, hardcode axes
leburnett Dec 1, 2025
6b51001
increase tooltip font size
leburnett Dec 1, 2025
ee15069
Merge branch 'main' into issue_78_part_2
floesche Dec 9, 2025
6cfb2cf
use CNS, update dependencies
floesche Dec 10, 2025
1fd3fb3
add scatter plots per hemisphere
floesche Dec 12, 2025
47299b8
better tooltips on L / R scatter plots
floesche Dec 12, 2025
0bd5867
update license
floesche Dec 12, 2025
2c93142
improve layout for scatterplots
floesche Dec 12, 2025
c18b944
add download button for scatterplots
floesche Dec 12, 2025
8775447
add subset-medium-optic as a test set
floesche Dec 12, 2025
ad6f0fc
before, LOVC23 was higlighted when I really just wanted C2
floesche Dec 12, 2025
47c30b3
save space in eyemaps
floesche Dec 12, 2025
21434ed
remove threshold
floesche Dec 12, 2025
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
2 changes: 1 addition & 1 deletion config.yaml
23 changes: 23 additions & 0 deletions config/config.cns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ discovery:
# Randomize selection (true) or use alphabetical order (false)
randomize: true

# Scatter plot settings. It was 9
scatter:
min_col_count_threshold: null

html:
title_prefix: "Male CNS"
github_repo: "https://github.com/reiserlab/celltype-explorer-drosophila-male-cns"
Expand All @@ -48,6 +52,25 @@ subsets:
- "'AOTU103m'"
- '"KCa''b''-ap1"'
- "'Acc. ti flexor MN'"
subset-medium-optic:
- "Cm5"
- "Dm8a"
- "Li30"
- "C2"
- "MeLo14"
- "TmY5a"
- "Y3"
- "dCal1"
- "LC17"
- "LoVP3"
- "MeVP62"
- "LT79"
- "vCal3"
- "LoVC23"
- "aMe30"
- "OLVC7"
- "AN27X013"
- "DNp30"
subset-small:
- "SAD103"
- "Tm3"
Expand Down
3 changes: 3 additions & 0 deletions config/config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ output:
neuroglancer:
base_url: "https://clio-ng.janelia.org/"

scatter:
min_col_count_threshold: null

html:
title_prefix: "Neuron Type Report"
3 changes: 3 additions & 0 deletions config/config.fafb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ discovery:
# Randomize selection (true) or use alphabetical order (false)
randomize: true

scatter:
min_col_count_threshold: null

html:
title_prefix: "Female Adult Fly Brain"
fathom_id: "GDMDXQVG"
Expand Down
3 changes: 3 additions & 0 deletions config/config.optic-lobe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ discovery:
# Randomize selection (true) or use alphabetical order (false)
randomize: true

scatter:
min_col_count_threshold: null

html:
title_prefix: "Neuron Type Report"

Expand Down
48 changes: 47 additions & 1 deletion docs/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,35 @@ html:
performance:
max_workers: 4
cache_enabled: true

scatter:
# Minimum column count threshold for data quality filtering
# Data points with cols_innervated <= this value will be excluded from scatter plots
# Set to null to disable this filter
min_col_count_threshold: null
```

### Scatter Plot Configuration

Configure scatter plot generation for optic lobe datasets:

```yaml
scatter:
min_col_count_threshold: 9.0 # Default threshold
```

**Configuration Options:**
- `min_col_count_threshold`: Minimum number of columns a neuron type must innervate to be included in scatter plots
- Default: `9.0` (excludes types with ≤ 9 columns)
- Set to `null` to disable filtering and include all data points
- This filter helps exclude low-quality or sparse data from visualizations
- Can be overridden per-command using `--min-col-count` CLI option

**Use Cases:**
- **Strict quality control** (default 9.0): Only well-sampled types with sufficient column coverage
- **Relaxed filtering** (e.g., 5.0): Include more types with moderate column coverage
- **No filtering** (null): Include all types regardless of column count

### Dataset-Specific Configurations

Different datasets may require specific settings:
Expand Down Expand Up @@ -166,6 +193,15 @@ pixi run neuview build --types "Tm3,Mi1,T4"
# Use a subset from config
pixi run neuview build --subset small-test

# Generate scatter plots (for optic lobe datasets)
pixi run neuview create-scatter

# Generate scatter plots with custom quality threshold
pixi run neuview create-scatter --min-col-count 5

# Generate scatter plots without quality filtering
pixi run neuview create-scatter --min-col-count -1

# Verbose output for debugging
pixi run neuview build --verbose
```
Expand All @@ -184,6 +220,16 @@ pixi run neuview build --verbose
- `neuview inspect <type>` - Show detailed information about a neuron type
- Displays: neuron count, soma distribution, connectivity stats

**`create-scatter` command:**
- `neuview create-scatter` - Generate SVG scatter plots of spatial metrics for optic lobe types
- `--min-col-count <value>` - Set minimum column count threshold for data quality filtering
- Default: 9.0 (excludes points with cols_innervated ≤ 9)
- Set to -1 to disable filtering
- Can also be configured in `config.yaml` under `scatter.min_col_count_threshold`
- Generates plots for ME, LO, and LOP regions
- Creates both combined (both hemispheres) and hemisphere-specific (L/R) plots
- Output: `output/scatter/*.svg` files

## Generated Website Features

### Interactive Index Page
Expand Down Expand Up @@ -712,4 +758,4 @@ A: Yes! The `data/neurons.json` file is a standard JSON API endpoint.
A: Same data, different formats. JSON for web servers/APIs, JS for local file access.

**Q: Why do some neurons have L/R pages and others don't?**
A: Automatically determined by soma distribution. Bilateral neurons get separate pages.
A: Automatically determined by soma distribution. Bilateral neurons get separate pages.
Loading