Hi,
I was following the tutorial (MaAsLin2 · biobakery/biobakery Wiki · GitHub) to run the demo data provided with the package. However, with every fit_data I found the same error shown up. It seems the latest R package does not include the ‘reference’ option anymore. How does this affect the analysis using MaAslin2 as applied to categorical metadata?
One of the error messages is attached below as an example:
fit_data_random = Maaslin2(
input_data = df_input_data,
input_metadata = df_input_metadata,
output = “demo_output_random”,
fixed_effects = c(“diagnosis”, “dysbiosis”),
random_effects = c(“subject”),
reference = c(“diagnosis,nonIBD”))
Error in Maaslin2(input_data = df_input_data, input_metadata = df_input_metadata, : **
** unused argument (reference = c(“diagnosis,nonIBD”))*
Thank you for your help in advance.
Shuqi