Open cmetadea opened 9 months ago
Hi cmetadea, not a solution I'm afraid, I'm having the exact same problem- I'm not seeing the passed_ss column either. Do we have to adjust the code for the sensitivity analysis? Does anyone know how to fix this? Many thanks
Any luck? I have this problem as well, the only thing I've found is others with the same unanswered question. I made sure to set pseudo_sens = TRUE in my original code as well, which works to create most of the output but produces no ss columns.
Hi, I tried to ran codes similar to vignette with my data, here are my code
df_age = res_prim_cagA %>% dplyr::select(taxon, ends_with("Age")) df_fig_age = df_age %>% dplyr::filter(diff_Age == 1) %>% dplyr::arrange(desc(lfc_Age)) %>% dplyr::mutate(direct = ifelse(lfc_Age > 0, "Positive LFC", "Negative LFC"), color = ifelse(passed_ss_Age == 1, "#339900", "black")) df_fig_age$taxon = factor(df_fig_age$taxon, levels = df_fig_age$taxon) df_fig_age$direct = factor(df_fig_age$direct, levels = c("Positive LFC", "Negative LFC"))
it returned
Error in
dplyr::mutate(): ℹ In argument:
color = ifelse(passed_ss_Age == 1, "#339900", "black"). Caused by error in
ifelse(): ! object 'passed_ss_Age' not found Run
rlang::last_trace()to see where the error occurred.
I checked the results table and there was no passed_ss column. Any idea what did I do wrong? or did it meant that I had no presentable results? Thank you
You should update ANCOM-BC2 to 2.6.0.
Thank you, that fixed the problem!
Hi, I tried to ran codes similar to vignette with my data, here are my code
df_age = res_prim_cagA %>% dplyr::select(taxon, ends_with("Age")) df_fig_age = df_age %>% dplyr::filter(diff_Age == 1) %>% dplyr::arrange(desc(lfc_Age)) %>% dplyr::mutate(direct = ifelse(lfc_Age > 0, "Positive LFC", "Negative LFC"), color = ifelse(passed_ss_Age == 1, "#339900", "black")) df_fig_age$taxon = factor(df_fig_age$taxon, levels = df_fig_age$taxon) df_fig_age$direct = factor(df_fig_age$direct, levels = c("Positive LFC", "Negative LFC"))
it returned
Error in
dplyr::mutate(): ℹ In argument:
color = ifelse(passed_ss_Age == 1, "#339900", "black"). Caused by error in
ifelse(): ! object 'passed_ss_Age' not found Run
rlang::last_trace()to see where the error occurred.
I checked the results table and there was no passed_ss column. Any idea what did I do wrong? or did it meant that I had no presentable results? Thank you