Commit bff8d692 authored by Etienne Rifa's avatar Etienne Rifa
Browse files

fix taxonomy integration

parent 180823e3
Pipeline #37428 passed with stage
in 16 seconds
......@@ -53,7 +53,7 @@ generate_phyloseq_fun <- function(dada_res = dada_res, tax.table = tax.table, tr
if(is.null(tree)){
flog.info('Building phyloseq object without tree...')
data <- phyloseq(dada_res$otu.table, tax.table, sample.metadata, DNAStringSet(sequences))
data <- phyloseq(dada_res$otu.table, tax_table(as.matrix(tax.table)), sample.metadata, DNAStringSet(sequences))
} else{
flog.info('Building phyloseq object with tree...')
data <- phyloseq(dada_res$otu.table, tax.table, sample.metadata, phy_tree(tree), DNAStringSet(sequences))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment