Entering edit mode
19 months ago
azevedopaula236
•
0
Hi There
I am using phyloseq and I get the following error message OTU = otu_table(otumat, taxa_are_rows=TRUE) Error in validObject(.Object) : invalid class “otu_table” object: Non-numeric matrix provided as OTU table. Abundance is expected to be numeric.
Could you please advise what am I doing wrong and how to fix it? Thank you in advance, Paula.
This error indicates that you have a column with non-numeric inputs somewhere. This most often happens to me when I have forgotten to discard sample names from the first column in the matrix.