-
Notifications
You must be signed in to change notification settings - Fork 4
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
Return 0 for patients with no neoantigens #52
Conversation
That was intended, and downstream the code checks for At a high level, it seems useful/necessary to maintain a distinction between |
@tavinathanson in this case the correct answer is 0 though and not NaN (filtering a dataframe for an ID when there are 0 rows that match should be 0) Compared to the other cases where we are checking if there is an entry corresponding to the ID and then using Also, I haven't found this useful for the mutation counts either, since if a patient is missing VCF files, we return an empty |
Ah, I see. I guess we could look at what mutations are present to decide between 0 and Re the empty |
Merge away per offline discussion:
|
Removed the check of IDs since this give NaN for patients without neoantigens