dcat4 / ensembleTax

source R package
Other
6 stars 3 forks source link

Changed code for the idtax2df function for PR2 5.0.0 compatibility #5

Open morien opened 7 months ago

morien commented 7 months ago

Since PR2 5.0.0 update, the PR2 example code didn't work for DECIPHER/IDTAXA output (this is true for PR2's own example method for generating a taxonomy table from DECIPHER output as well). In ensembleTax this only requires changing a few lines of code to remedy. I've done that. Your commented examples in the readme will also need to be adjusted a bit based on the updated PR2 ranks (domain, supergroup, division, subdivision, class, order, family, genus, species), but with my changes the idtax2df function works again and produces the correct output.