MicrobiomeStat
MicrobiomeStat copied to clipboard
generate_alpha_trend_test_long giving fatal error, aborting R session
Thank you for this great package for longitudinal microbiome analyses. Every time I try to run the generate_alpha_trend_test_long function my R is crashing. it says "R encountered a fatal error, The session was terminated". I have tried both with my data and with the example data (subset_T2D), and it crashes on that function each time.
Code: data("subset_T2D.obj") alpha_trend_test_results <- generate_alpha_trend_test_long( data.obj = subset_T2D.obj, alpha.name = c("shannon","observed_species"), time.var = "visit_number_num", subject.var = "subject_id", group.var = "subject_race", adj.vars = NULL )
and also my data:
alpha_trend_test_results <- generate_alpha_trend_test_long(
data.obj = mbstat.obj,
alpha.name = c("shannon","simpson","observed_species"),
time.var = "time.num",
subject.var = "ID",
group.var = "Study.Group",
adj.vars = NULL
)
I have tried to use debug() and find the spot in the code where it is crashing and it seems to be after the alpha_df line. I have tried this many times and can get all other functions in the alpha diversity longitudinal analysis to run except for this one.
- Operating System: Windows 11
- R Version: 4.3.1
- Package Version: 1.1.3