Hi,
I have a phyloseq object containing otu_table, sam_data, and tax_table. Is there a way I can use this phyloseq object for example in model.matrix? I tried the following:
x <- model.matrix(~Sample_ID, data = myphyloseq_obj@sam_data)
However, it did not work. Any advice on how to do this? In your paper I read you used a phyloseq object.
Thanks!
Hi,
I have a phyloseq object containing otu_table, sam_data, and tax_table. Is there a way I can use this phyloseq object for example in model.matrix? I tried the following:
x <- model.matrix(~Sample_ID, data = myphyloseq_obj@sam_data)
However, it did not work. Any advice on how to do this? In your paper I read you used a phyloseq object.
Thanks!