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

Warning message in predict_ligand_activities #280

Open
csangara opened this issue May 30, 2024 · 0 comments
Open

Warning message in predict_ligand_activities #280

csangara opened this issue May 30, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@csangara
Copy link
Member

When the regulatory potential of all genes in the gene set of interest is zero (for a certain ligand), this warning pops up:

Warning messages:
1: In evaluate_target_prediction(setting, ligand_target_matrix, ligands_position) :
all target gene probability score predictions have same value
2: In cor(prediction, response) : the standard deviation is zero
3: In cor(prediction, response, method = "s") :
the standard deviation is zero

In that case, the ligand should be removed from the output dataframe, along with a message to the user informing that the ligand has been removed.

@csangara csangara added the enhancement New feature or request label May 30, 2024
@csangara csangara changed the title Warning messages in predict_ligand_activities Warning message in predict_ligand_activities May 30, 2024
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