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

logistic regression returning all NA's #15

Open
mgarrett1020 opened this issue Feb 12, 2025 · 0 comments
Open

logistic regression returning all NA's #15

mgarrett1020 opened this issue Feb 12, 2025 · 0 comments

Comments

@mgarrett1020
Copy link

Hello--
I'm running into issues with the logistic regression model - no error, but the program is returning all NA's for those parameters. All other aspects of PyHLA are working for me, so I don't think it's an issue with my input files.

Here is my code:
python2 PyHLA.py
--input HLA_input.txt
--exclude exclude_alleles.txt
--adjust FDR
--assoc
--test logistic
--model additive
--covar covar.txt
--out logistic.out

Here is the first part of the output (truncated):
Allele A_case B_case A_ctrl B_ctrl F_case F_ctrl Freq P_Logit OR L95 U95 P_adj
HLA-A01:01 38 240 47 185 0.1367 0.2026 0.1667 NA NA NA NA NA
HLA-A
02:01 77 201 65 167 0.2770 0.2802 0.2784 NA NA NA NA NA
HLA-A03:01 34 244 21 211 0.1223 0.0905 0.1078 NA NA NA NA NA
HLA-A
11:01 19 259 12 220 0.0683 0.0517 0.0608 NA NA NA NA NA
HLA-A*24:02 28 250 23 209 0.1007 0.0991 0.1000 NA NA NA NA NA

I get the same NA values for all HLA alleles.

Thanks for any advice you can provide.
Melanie

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