-
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
mStat_generate_report_long() : Error in update_data_obj_count() #62
Comments
Dear @wode0000ai, Thank you for reaching out and providing such a detailed description of the issue you're facing with the To help diagnose the problem more efficiently, I was wondering if you would be comfortable sharing your data files with me directly. If so, could you please send them to my email address: [email protected] Having access to the actual data would allow me to replicate the issue on my end and potentially identify the source of the error more quickly. Of course, I understand if you have any concerns about data privacy or confidentiality. If you prefer not to share the data, please let me know, and we can continue troubleshooting based on the information you've already provided. Thank you for your patience as we work to resolve this issue. I look forward to hearing back from you. Best regards, |
Dear @wode0000ai, Thank you for sharing the detailed information about your issue with the The issue likely stems from the row names in your To resolve this, you can try the following:
This adjustment ensures that your metadata correctly aligns with your feature table, which is crucial for many microbiome analysis functions. If you make this change and still encounter issues, please let me know, and we can investigate further. Don't hesitate to reach out if you need any clarification or assistance in implementing this fix. Best regards, |
Dear @cafferychen777, > all(rownames(data.obj$meta.dat) == colnames(data.obj$feature.tab))
[1] TRUE I have sent you the data as requested, and I look forward to any further guidance or suggestions you might have. Please let me know if there is any problem with the email. Your support has been incredibly valuable to me, and I am grateful for your expertise and time. |
Dear @wode0000ai, Thank you for your detailed explanation of the problem you're experiencing with the MicrobiomeStat package. After reviewing your code and data structure, I believe I've identified the root cause of the error you're encountering. The issue stems from the format of your time variable. Currently, your To resolve this, I suggest the following steps:
Include these parameters in your While this should resolve the immediate error, I've noticed another potential issue. Your dataset appears to have very few time points, which may prevent some of the longitudinal tests from running successfully. Given this limitation, I would recommend using individual functions from the package rather than generating a full report. If you need any further assistance or clarification on using these individual functions, please don't hesitate to ask. I'm here to help you get the most out of your analysis with MicrobiomeStat. Best regards, |
Dear Chen,
I hope this message finds you well.
I have encountered an issue while using the
mStat_generate_report_long()
function from the MicrobiomeStat package. Below is the script I am using, which is based on the tutorial script provided. Despite following the tutorial closely, I am receiving the following error message:Error in update_data_obj_count():
! The provided count table must have row and column names.
Backtrace:
MicrobiomeStat::generate_taxa_areaplot_long(...)
MicrobiomeStat::mStat_normalize_data(data.obj, method = "TSS")
MicrobiomeStat:::update_data_obj_count(...)
Quitting from lines 195-215 [taxa-areaplot-longitudinal-generation]
Here is the script I am using:
I have verified that my count table (feature.tab) and other data frames (meta.dat and feature.ann) have both row and column names. Here are the checks I performed to ensure that:
All checks passed successfully, yet the issue persists. I would greatly appreciate any guidance or suggestions you may have to resolve this problem.
Thank you very much for your time and assistance.
The text was updated successfully, but these errors were encountered: