Hi,
thank for your package.
I’ve just done a small test and had the error:
fit_data = Maaslin2(
- input_data = input_data,
- input_metadata = input_metadata,
- output = “demo_output”,
- fixed_effects = c(“diagnosis”, “dysbiosis”))
[1] “Creating output folder”
[1] “Creating output figures folder”
2021-04-23 16:56:06 INFO::Writing function arguments to log file
2021-04-23 16:56:06 INFO::Verifying options selected are valid
2021-04-23 16:56:06 INFO::Determining format of input files
2021-04-23 16:56:06 INFO::Input format is data samples as rows and metadata samples as rows
2021-04-23 16:56:06 INFO::Formula for fixed effects: expr ~ diagnosis + dysbiosis
Error in Maaslin2(input_data = input_data, input_metadata = input_metadata, :
Please provide the reference for the variable ‘diagnosis’ which includes more than 2 levels: UC, CD, nonIBD
Can you let me know how I can resolve this error before to use my own data.
Thank you,
Virgg