-
Notifications
You must be signed in to change notification settings - Fork 20
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: Error in if: missing value where TRUE/FALSE needed #6
Comments
Is the file called "otu_table.biom"? I looked at the code and would expect this error to occur if someone attempts to upload a file without a file extension (so something like "otu_table" instead of "otu_table.biom". If that is not the case, I will have to take a closer look to figure out what is causing the error. |
Hi
it is a biom file and was generated the same way as for the previous dataset which worked with the Microbiome Explorer .
Thanks for your assistance |
Thank you for sharing those error messages. They look like some sort of discrepancy with the phenotype data. After loading the data using readData, are you able to call pData(meData)? Does this look like a proper data frame? I will spend some time later today to go through the code to see if I can figure out what causes the error. |
Hi again, So this first error:
indicates that one of the values in names(filtList) is not found in the column names of pData(meData). Similarily for the other issues: If no col_by value is given, the "color" is set to black. If a col_by value is given, it expects a column name of the phenotype data stored in pData. If this column does not exists, an empty factor is created which causes the error when the tibble for the plot is created (because it attempts to combine the empty color factor with the existing phenotype information which has 74 entries). Within the app, only the names of the pData columns will be given as options to choose for coloring, so this problem should not occur. But I should probably add some error checks to give more useful feedback to users outside of the app. I don't know if this is also related to the issue you are seeing when uploading the biom file. Are you able to make this call from Rstudio? meData <- filterMEData(readData("filepath.biom", If so, what happens if you look at the pData(meData)? Do the column names look as expected? Thanks, |
Hi
The column was named TREATMENT in capital letters but we called it as small lettered abbreviation
I have been able to make the scatter plot directly on Rstudio
Once i am done making the plots on Rstudio, i will try uploading my biom file directly on the shiny app and see if it works that way |
Hi
I can't seem to upload my otu_table.biom file on the Microbiome Explorer
it sent the Error
Please is there something i can do about it, the otu table was generated from a Bioinformatics pipeline (PIPITS)
Kindly Note: previously i used a set of otu tables which worked on the Microbiome Explorer, this is another set of otu data that is refusing to upload.
Thanks
Sandra
The text was updated successfully, but these errors were encountered: