Skip to content

Error message when creating a phyloseq object #1786

@hammerklaviersonate

Description

@hammerklaviersonate

Hello,

I am trying to create a phyloseq object with the output data from qiime2 to (otu table, sample metadata, rooted tree and taxonomy file)

However, when I call this command:

ps <- phyloseq(otu_table(otu_transformed, taxa_are_rows = TRUE), taxonomy, metadata, phy_tree(tree))

I receive the following error:

"unable to find an inherited method for function ‘prune_samples’ for signature ‘samples = "array", x = "phyloseq"’

I am really helpless as to what the problem might be here... I am using R 4.5.1

Thanks in advance for any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions