This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import patsy | |
import pandas as pd | |
from biom import Table | |
# This is the main function | |
def poisson_cat(table, metadata, category, ref=None): | |
""" Poisson differential abundance. | |
Parameters |