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

Make model-level sample size more robust in the case of maic = inclusive #3

Open
Feat-FeAR opened this issue May 29, 2024 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@Feat-FeAR
Copy link
Member

Feat-FeAR commented May 29, 2024

At the Model level (i.e., in geneStats.xModel) we have to consider the chance that the genomes considered in the different Series (studies) may not have the same size or exactly the same elements (e.g., because of different releases of the assembly), and for this there exists the Meta-analysis Inclusion Criterium (maic) option. When using maic = inclusive, it may happen that some genes measured only in some studies have an effective N less than length(model). This may affect:

  1. the calculation of SEM in MEAN: this can be solved, e.g., by introducing a new column in large_stats for the actual gene-wise sample size.
  2. the entire NWMEAN calculation, which currently does not handle NAs. Even if NAs were removed, weights would need to be corrected gene-wise to get the correct sum(N) denominator.
@Feat-FeAR Feat-FeAR added bug Something isn't working documentation Improvements or additions to documentation labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant