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

Confusion about the results of boot_genes in PLS analysis #29

Open
LuuuXG opened this issue Jul 24, 2024 · 0 comments
Open

Confusion about the results of boot_genes in PLS analysis #29

LuuuXG opened this issue Jul 24, 2024 · 0 comments

Comments

@LuuuXG
Copy link

LuuuXG commented Jul 24, 2024

In pls.py, lines 148-151:

image

I am confused about why it is orig. for genes and z-score, but boot. for the p-value and adjusted p-value. As in genes.py, within the compute() function, _p_val and _p_corr seem to be ordered according to _index, which is the order of _z, rather than the original order. Although the two orders are similar, that is how the bootstrap process works.

In other words, in the output file pls_component_*.tsv, the order of the genes is the SAME as their order from the initial PLS regression result (in genes.py, line 120). This is really confusing.

Additionally, in genes.py, within the gsea function, the orig.genes is again used. If this is the case, why do we need to conduct the bootstrap of genes and get boot.genes?

I would appreciate any clarification on this matter.

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