I have a feature table with taxonomy collapsed to the genus level, where the first column is the taxonomy (ranks separated by ;), then the rest of columns represents samples_id showing the read count of each feature. I need to split the taxonomy column into 6 taxonomic ranks using parse_tax_data function.
I used this code:
```
obj <- parse_tax_data(feature-table-with-taxonomyl6,
class_cols = "taxonomy",
class_sep = ";",
class_regex = "^([a-z]{0,1})_{0,2}(.*)$",
class_key = c("tax_rank" = "taxon_rank", "name" = "taxon_name"))
print(obj)
```
then I got this error:
```
Error in parse_tax_data(feature - table - with - taxonomyl6, class_cols = "taxonomy", : could not find function "parse_tax_data"
```
However, I already loaded taxa package but I have a problem when installed devtools.
Thanks!
Eman