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

return mean values and standard error/deviation #16

Open
scisea opened this issue Jun 2, 2020 · 2 comments
Open

return mean values and standard error/deviation #16

scisea opened this issue Jun 2, 2020 · 2 comments

Comments

@scisea
Copy link

scisea commented Jun 2, 2020

The data obtained from the summaryRuns option is great, however, for the "count and count_chr" tables it would be very useful to obtain the mean ROH values ( plus standard dev/error) according to the number of samples per population. That way we can really compare them. Right now we get a total number which could be biased when the pops size is different. Same for the ROH length cause we get the mean but not the standard deviation of the values.

I think it would be straightforward to achieve for someone with good R skills not like me hah but I think that by adding these options to the ddply function "SE = sd(N) / sqrt((length(N))), SD = sd(N))" ??

Anyway it is just a suggestion but I think it would be very much appreciated.
Cheers!

@bunop
Copy link
Contributor

bunop commented Jun 3, 2020

Dear @scisea ,
Thank you for your interest in detectRUNs!

for the "count and count_chr" tables it would be very useful to obtain the mean ROH values ( plus standard dev/error) according to the number of samples per population.

This seems reasonable to me. @filippob , what do you think? could this feature be added in the next release?

@bunop bunop added the question label Jun 3, 2020
@filippob
Copy link
Collaborator

filippob commented Jun 3, 2020 via email

@bunop bunop added enhancement and removed question labels Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants