FrederickHuangLin / ANCOMBC

Differential abundance (DA) and correlation analyses for microbial absolute abundance data
https://www.nature.com/articles/s41467-020-17041-7
104 stars 28 forks source link

object 'passed_ss_age' not found #269

Open JiaLonghao1997 opened 3 months ago

JiaLonghao1997 commented 3 months ago

I got the following errors when running the ANCOM-BC2 Tutorial.

> 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, "aquamarine3", "black"))
Error in `dplyr::mutate()`:
ℹ In argument: `color = ifelse(passed_ss_age == 1, "aquamarine3", "black")`.
Caused by error in `ifelse()`:
! object 'passed_ss_age' not found
Run `rlang::last_trace()` to see where the error occurred.
Maggie8888 commented 5 days ago

Could you please Run rlang::last_trace() and provide the output from there?