R/test-utilities.R

Defines functions transpose_and_2df

# transpose otu_table and then convert it to data.frame
#' @importMethodsFrom phyloseq t
transpose_and_2df <- function(ot) {
    t(ot) %>% as.data.frame()
}
yiluheihei/microbiomeMarker documentation built on Nov. 5, 2023, 7:19 a.m.