Skip to content

Improve variability formula generality#271

Open
stemangiola wants to merge 21 commits into
masterfrom
improve-variability-formula-generality
Open

Improve variability formula generality#271
stemangiola wants to merge 21 commits into
masterfrom
improve-variability-formula-generality

Conversation

@stemangiola

Copy link
Copy Markdown
Collaborator

No description provided.

lel4011 and others added 21 commits March 31, 2026 14:55
the 2D plot will take the raw parameters for the non normalised
…r mean-variability regression. Replace 'prec_coeff' with 'prec_intercept' and 'prec_slope' parameters across relevant functions and Stan models. Update tests to reflect changes in parameter names and ensure compatibility with new structure.
…ntercept parameters based on design specifications. Update Stan model to reflect intercept-centered priors for the first column and zero-centered priors for others, improving flexibility in handling variability associations.
…. Added missing commas in `plot_1D_intervals` and `plot_2D_intervals` documentation. Clarified description of `residuals_unconstrained` in `sccomp_calculate_residuals` to specify the calculation method and added details on residuals computation on both proportion and unconstrained scales.
…ssion, streamlining the parameterization and reducing complexity in the model specification.
…solidating intercepts into a single array structure. Update initialization logic in model fitting to accommodate bimodal associations and streamline loading of Stan models by preferring local sources. Enhance documentation for model loading function to clarify parameter usage.
…` function for visualizing cell-group proportions. Update `plot.sccomp_tbl` to utilize quosures for improved data handling and streamline the integration of significance thresholds in scatterplots. Add detailed documentation for the new plotting function, including parameters and return values.
… checks in `test-plot.R`. Introduce a new helper function to correctly extract captions from patchwork plots, ensuring accurate validation of Bayesian FDR labels in plot outputs.
…gy with "raw" for clarity. Update data handling and parameter filtering to reflect this change, ensuring consistency across plotting outputs and significance checks.
Introduce a new internal function `get_variability_to_composition_map` to match variability design columns to composition design columns based on their names. Implement error handling for missing terms in the mapping. Update the Stan model to incorporate the new mapping and adjust the model calculations accordingly. Add comprehensive tests to validate the mapping functionality and ensure robustness against missing terms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants