group.abund.Taxa() seems to have problems with blanks

Issue #2 new
Sebastian B created an issue

Dear developer,

whenever I'am checking Taxa like the following:

group.abund.Taxa(data=data_endo, taxa="Pla4 lineage", meta=meta_endo, meta.factor="Soil", drop.unclassified=TRUE, rank = "c")

I get the following error message: Error in .group.rank2(data = elem, meta = meta, meta.factor = meta.factor, : Error: no taxa present in the dataset

traceback()
3: stop("Error: no taxa present in the dataset")
2: .group.rank2(data = elem, meta = meta, meta.factor = meta.factor, 
       relative.abund = TRUE, taxa = taxa, drop.unclassified = drop.unclassified, 
       rank = rank)
1: group.abund.Taxa(data = data_endo, taxa = "Pla4 lineage", meta = meta_endo, 
       meta.factor = "Soil", drop.unclassified = TRUE, rank = "c")

It seems that all taxa, no matter which taxonomic level, are producing such an error if there is a space or blank in between.

Maybe there is a easy workaround? kind regards, itsab

Comments (1)

  1. Log in to comment