Combaning ASV tsble after decontam with qiime2 outputs into phyloseq object

Hello Everyone!
I have used package decontam to clean our table.qza from qiime2 output (16s sequencing dataset).
I want to create phyloseq object with qiime2 outputs like taxonomy,rooted-tree and AVS table decontaminated, that is already in R. I couldn't find anything about it.
I would appreciate any help.

It looks like there's a function in {qiime2}. See this writeup.

Hello)
Thank you,
It is working only for qiime2 outputs,
I need to use ASV from Rstudio instead of qiime2 output...

Tried this

phyloseq2<-qza_to_phyloseq(features = "ASV_table_decontaminated_ps_noControl"
tree = "/home/rooted-tree.qza",
"/home/taxonomy.qza",
metadata = "/home/metadata.tsv")
Got

Error in qza_to_phyloseq(features = "ASV_table_decontaminated_ps_noControl", :
could not find function "qza_to_phyloseq"

A better way of explaining the problem is to provide a reprex. See the FAQ.

isn't in namespace. Try

qiime2R::qza_to_phyloseq()

or

library(qiime2R)

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.