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

predict function in the genphen package #3

Open
Spatial-R opened this issue Aug 28, 2020 · 3 comments
Open

predict function in the genphen package #3

Spatial-R opened this issue Aug 28, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Spatial-R
Copy link

Dear. Thanks again for your nice work on the genphen package.

I wonder whether there is a function we can use to predict the phenotype based on the genotype?

I know that the posterior distribution was stored when running the runGenphen function. If there is a predict function, such as predict function in the linear regression model (lm), it is more convenient for the users to do further analysis.

@snaketron
Copy link
Owner

Good idea, will try to add this functionality for the next release.

@snaketron snaketron self-assigned this Oct 14, 2020
@snaketron snaketron added the enhancement New feature or request label Oct 14, 2020
@snaketron snaketron reopened this Oct 14, 2020
@Spatial-R
Copy link
Author

Hello, is the predict function in the package now?

@snaketron
Copy link
Owner

Sorry, not implemented yet. Unfortunately I do not have time atm to do this.

I would suggest transitioning to state-of-the-art tools for Bayesian glm analyses such as brms or rstanarm (predict should be implemented in these methods).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants