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

Issue in statistical analysis of nucleotide diversity. #162

Open
ChenTianYi99 opened this issue Oct 24, 2023 · 2 comments
Open

Issue in statistical analysis of nucleotide diversity. #162

ChenTianYi99 opened this issue Oct 24, 2023 · 2 comments

Comments

@ChenTianYi99
Copy link

Hi,
I know that nucleotide diversity will be blank if no positions have a base over the minimum coverage. So i wonder if the NA value should be 0 or be dismissed (for example in R, na.rm=TRUE should be set) in downstream statistical analyses.

Looking forward to your reply. Thank you in advance.
Sincerely

@MrOlm
Copy link
Owner

MrOlm commented Oct 24, 2023

Hi @ChenTianYi99 - the answer here depends on the exact statistical task you're performing, but in general I remove these values rather then set them to 0.

Best,
Matt

@ChenTianYi99
Copy link
Author

Hi, Matt.
Thank you very much for your response. I will try to remove the NA values in my statistical analyses.

Best
Tianyi Chen

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