The bioBakery help forum

Lefse analysis in R

Hi, there

I’m developing a R package for microbiome marker discovery named microbiomeMarker, and the algorithm from lefse has been integrated to this package.

You can try it out today, if you want run lefse analysis in R. microbiomeMarker is still a newborn, so there may be bugs.

Thanks. Any suggestions and contribution will be highly appreciated.

Hi -
Thanks for the interests and for the package! If you have any LEfSe related questions, please feel free to let us know. If you are interested in additional microbial biomarker testing methods, the group also has the MaAsLin2 method with functionalities such as random effects for longitudinal designs, etc.

Thanks for sharing~~~
may i ask some questions?

  1. format of otu table should be .txt files? .CSV files? or others?
  2. i get OTU table from “CLC” software
  3. i upload .csv file and run analyze --> show the code" Error: ps must be phyloseq object "
    i do not know how to solve it!! Thanks

Hi there,

Thanks for your interest! If you would like to use one of the BioBakery tools we would recommend the use of MaAsLin2( If you have questions about the microbiomeMarker R package we would suggest directing your questions to the developer at


The main input of microbioMarker must be in phyloseq object, which means you must convert your otu table to phyloseq. As Kelsey_Thompson said, if you have questions about the microbiomeMarker R package, you can direct you questions at

Thanks for you interest.