-
Notifications
You must be signed in to change notification settings - Fork 5
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 during analysis, and no output written #6
Comments
Hi @CAWarmerdam, this warning appears when you have "NaN" values for t-statistics. It is difficult to say why, given the information a have, but most probably you have to check you phenotype and covariates files. They should not contain any missing values or NaNs! HASE does not clean datasets and used all available data. Therefore, if you have missing values you can have such warning. And that's why HASE doesn't save any results, because there is no valid t-values. |
Hi @roshchupkin, Thank you very much for your prompt response! Some thorough testing has shown that both the phenotype and covariates files and do not contain NaN values. I suppose discrete variables must be coded in integer values for the covariates file? |
I would like to emphasize again how much I appreciate your help. Running the analysis with randomly generated covariates (continuous values around 1-100) does not trigger a warning. Unfortunately there are still no output files generated, |
@CAWarmerdam could you please write here how do you submit the script (parameters)? |
For now I am testing this dataset with the regular regression mode, with a command formatted as follows:
Currently I am working with a dataset consisting of just over 50k SNPs, 358 samples and over 21k phenotype variables. indeed removing the t-threshold does result in output with the random covariate data, so thank you for your suggestion. However, it does not solve analysis with the discrete covariates (sex, batch, ancestry) that still do not return an output. |
Well, if there is no NaNs, missing, spaces in the dataset, I can't really think what is the reason. |
Thank you very much for your suggestions so far. A lot of problems are now resolved. Unfortunately I have not yet come up with a solution for the particular problem stated above. However, I have tried to find the origin of this issue. As can be seen in the traceback at the start on the issue, the division warning occurs on what is actually line 121 within the Do you think there is a possibility that this problem happens because the We would greatly appreciate if someone could look into this issue. me and my colleagues would really like to see if this method will work for a large multi-site study. Thank you very much. |
After having looked into the process of constructing the The genotype data is as follows:
The covariates are as shown below:
Matrix A is then equal to:
|
Hi,
As can be derived from my previous 'issue', I am fairly new to the HASE framework. Therefore more problems are likely to have been caused by my lack of experience. However, I would be very grateful if someone could help me resolve the following issue.
After having successfully prepared an experiment with converted and encoded data, creating mapper files and performing partial derivatives calculations, the meta-stage analysis gives the following warnings:
Regular regression analysis using just the converted genotypes, the phenotypes and covariates show the same warning message.
After these warnings the program proceeds without further error messages, but there are no .npy output files located in the output directory. Some testing made it clear that the
A_inverse
function returns a matrix of zeros contrary to the example data.Could someone help me resolve this problem?
The text was updated successfully, but these errors were encountered: