lichen-lab / GMPR

GMPR: A robust normalization method for zero-inflated count data with application to microbiome sequencing data
https://github.com/lichen-lab/GMPR
2 stars 2 forks source link

New error message after installing r version 4.2.0 running the tutorial example #2

Open johnsonrd58 opened 2 years ago

johnsonrd58 commented 2 years ago

Error in if (!(class(OTUmatrix) %in% c("data.frame", "matrix"))) stop("Unknown datatype of object \"OTUmatrix\".") : the condition has length > 1

require(GUniFrac) require(vegan) require(DESeq2) library(GMPR)

data(throat.otu.tab) data(throat.meta) tu.tab <- t(throat.otu.tab) gmpr.size.factor <- GMPR(t(otu.tab))