Some improvements in the QC plotting and LIANA for large datasets#304
Open
nictru wants to merge 21 commits into
Open
Some improvements in the QC plotting and LIANA for large datasets#304nictru wants to merge 21 commits into
nictru wants to merge 21 commits into
Conversation
Expose a plot toggle that draws pre-filter metric histograms with median and threshold lines, enabled in quality control and wired into MultiQC.
Use colour for lower versus upper bounds and linestyle for MAD versus absolute thresholds, plotting and labelling every configured bound.
Check post-filter AnnData with nf-anndata in the quality control subworkflow, skipping validation during stub runs.
Stack green and red bars using the same cell-retention mask as the filter steps so removed cells are visible in each metric plot.
Collect per-stage sample sizes in the quality control subworkflow via countCells() and remove the unused nf-core getsize module.
Expose liana_max_cells, subsample strategy/seed, and liana_n_perms so large runs can cap cells and reduce permutation cost without skipping LIANA entirely.
Emit one PNG and MultiQC entry per sample instead of eight separate metric plots.
…exist. Reuse filter-style mito annotation and pass symbol column and mito gene list from quality control.
Each panel now marks cells green or red using only that metric's thresholds so plots match individual filter criteria.
Pre-unify QC and filter modules use var_names when symbol_col is none so gene symbols are not read from a missing column.
|
Absolute mitochondrial filtering is off unless a sample sets a value below 100; MAD mito QC is unchanged.
Drop file-path format so the Zenodo tarball URL validates alongside local model paths.
Mirror base_condition_col so replicate identifiers can be read from a custom obs column on base-only runs while samplesheet paths still use unified donor.
Deep flattening split each four-tuple into separate emissions and broke multiMap argument binding per cell type.
Use an explicit design matrix, sample IDs, TMM normalization, and integer coef indices instead of formula-based fit and string contrasts.
Pass formula first and metadata second to match edgePython 0.2.6 model_matrix(formula, data).
Fit ~ donor + condition only when donors span multiple conditions so PyDESeq2 and edgePython avoid singular designs.
Rebuild Wave containers and conda lock files for the updated bioconda environment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.