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

Reasoning for Aggregation by Summation #7

Closed
DarioS opened this issue Jan 3, 2025 · 1 comment
Closed

Reasoning for Aggregation by Summation #7

DarioS opened this issue Jan 3, 2025 · 1 comment

Comments

@DarioS
Copy link

DarioS commented Jan 3, 2025

aggregateAcrossCells uses summation rather than averaging. Is the reason for that the fold change preservation of summation?

image

Source: Supplementary Figure 5 of Muscat Detects Subpopulation-specific State Transitions from Multi-sample Multi-condition Single-cell Transcriptomics Data, Nature Communications.

If so, it might be helpful to have a \url link in the function documentation to guide novice users to the reason.

@LTLA
Copy link
Contributor

LTLA commented Jan 3, 2025

The motivation was not so sophisticated. Summation is just to get raw counts, which is needed for downstream analyses with edgeR, voom, etc. With averages, the precision of each observation depends on the number of cells in each group; this information is not easily introduced into the weighting frameworks of various DE methods.

@DarioS DarioS closed this as completed Jan 4, 2025
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

No branches or pull requests

2 participants