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

Question about interpreting parameters from linear models #6

Open
Hartecky opened this issue Jan 31, 2024 · 0 comments
Open

Question about interpreting parameters from linear models #6

Hartecky opened this issue Jan 31, 2024 · 0 comments

Comments

@Hartecky
Copy link

Hello,

thank you for your work, much appreciate such comparison and evaluation of the methods for cell type deconvolution.

However I have a question about the final dataframe preparation and interpreting the results:

For example for ridge, lasso, elastic_net

RESULTS = apply(RESULTS,2,function(x) ifelse(x < 0, 0, x)) #explicit non-negativity constraint
RESULTS = apply(RESULTS,2,function(x) x/sum(x)) #explicit STO constraint

I don't understand why negative coefficients are zeroed? Isn't negative coefficient telling us that certain cell types are fewer compared to the reference, rather than thinking that certain cell types are absent? Help me understand this procedure

Thanks in advance!

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