Tax4Fun - Error length of 'dimnames' [1] not equal to array extent
<p>I'm attempting to run Tax4Fun to predict functional capabilities from 16S data. As the analysis up to this point was carried out in Mothur, I could not use biom as an input (incompatibility between biom versions, which I knew about beforehand). </p>

<p>I converted my mothur biom file to a tsv file as follows:
<code>biom convert -i *biom -o otu_table.txt --header-key taxonomy --table-type "OTU table" --to-tsv
</code>
The otu_table.txt file was then used with Tax4Fun:
<code>data&lt;-importQIIMEData("otu_table.txt")
folderReferenceData&lt;- "/nobackup/shared/cgebm/r_packages/Tax4Fun/SILVA119/"
results &lt;- Tax4Fun(data,folderReferenceData)</code></p>

<p>However I get the following error message:
Error in <code>rownames&lt;-</code>(<code>*tmp*</code>, value = c("NC-1.S34", "NC-2.S48", "PC-1.S27",  : 
  length of 'dimnames' [1] not equal to array extent</p>

<p>I've searched Google extensively but have had no luck in finding an a solution! The text file has the dimensions that I would expect and seems to be OK when being loaded into R.</p>

<p>All suggestions welcome!</p>