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

Clarification on BY2005.R script #2

Open
jschreie opened this issue May 29, 2022 · 1 comment
Open

Clarification on BY2005.R script #2

jschreie opened this issue May 29, 2022 · 1 comment

Comments

@jschreie
Copy link

jschreie commented May 29, 2022

Hi, I have been looking for functions to perform multiple corrections for confidence intervals and found your SelectiveCI scripts. I have bootstrap estimates of mean gene measurements, have constructed 95% confidence intervals, and have compared intervals from an experimental treatment to a control treatment, considering those genes with non-overlapping intervals to be statistically significant.

If I understand the BY2005.R script correctly, I would input x=mean estimate, sigsq=sd of the population squared?, n.rejections= number of of genes with overlapping intervals?, n.tests=number of genes tested?, alpha=0.05

Is the above an appropriate use of this function for generating FCR adjusted multiple confidence intervals?

Thanks,
Jeremy

@johnros
Copy link
Owner

johnros commented Jun 1, 2022

Have a look at https://github.com/johnros/selectiveCI/blob/master/selectiveCI/R/BY2005.R
You may see that sigsq is the standard error of the mean in the CI formula.
(I guess I did choose a confusing name for that variable. I don't recall why that is).

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