scverse / scverse/spatialdata-io
filtered_counts_file parameter for cell-segmented matrices
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 103
- Forks
- 65
- Avg merge
- 1h 8m
- Merged PRs (30d)
- 3
Description
Hello!
Is there a chance that the filtered_counts_file parameter of the visium_hd reader can apply to cell-segmented matrices as well?
For example here, when I set the filtered_counts_file to False:
sdata = visium_hd(
path=crc_spaceranger_outs,
dataset_id='CRC',
filtered_counts_file=False,
load_segmentations_only=True
)
it still loads the number of observations in filtered_feature_cell_matrix.h5 instead of raw_feature_cell_matrix.h5.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the visium_hd reader and trace how filtered_counts_file is handled when load_segmentations_only=True. Compare the observation count loaded from filtered_feature_cell_matrix.h5 with the expected raw_feature_cell_matrix.h5 behavior, then add or update coverage for this parameter combination.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100