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

P-value and coefficients for covariate #46

Open
bsb2014 opened this issue Jan 6, 2025 · 0 comments
Open

P-value and coefficients for covariate #46

bsb2014 opened this issue Jan 6, 2025 · 0 comments

Comments

@bsb2014
Copy link

bsb2014 commented Jan 6, 2025

In the following examples,

HLA_model <- glm(disease ~ term + sex + age, data = HLA, family = binomial)

HLA_results <- runMiDAS(
object = HLA_model,
experiment = "hla_alleles",
inheritance_model = "dominant",
lower_frequency_cutoff = 0.02,
upper_frequency_cutoff = 0.98,
correction = "bonferroni",
exponentiate = TRUE
)
Alternatively, an omnibus test for multiple HLA alleles

HLA_AA_omnibus_results <- runMiDAS(
HLA_model,
experiment = "hla_aa",
inheritance_model = "dominant",
conditional = FALSE,
omnibus = TRUE,
lower_frequency_cutoff = 0.02,
upper_frequency_cutoff = 0.98,
correction = "bonferroni"
)
In both cases, the output includes only the p-values or odds ratios (ORs) for the HLA alleles. My question is: Is it possible to output the p-values and ORs for the covariates (e.g., sex, age) as well?

Thanks!

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

1 participant