metadata type column from numeric to categorical

Hi everybody,

I was trying to merge the replicates but I got the following error:

(1/1) Invalid value for '--m-metadata-file': Metadata column is of type

'numeric', but expected Categorical.

How could I change the metadata type column from numerical to a categorical variable? Thank you so much for your help.

Hi @linama
Welcome back!
If all you need is to convert a numeric column to categorical you can provide a column types to your metadata file as instructed here, or add some letters to the numbers in column (for example, if you want to merge by day of sampling and it is indicated with numer 2, you can indicate is as d2).

1 Like

Hi Timur,

Thank you so much for your help. It will do that.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.