Skip to content

phyloseq filtering errors #243

@raw937

Description

@raw937

y <- parse_phyloseq(fil_nifH)
Warning messages:
1: There is no "taxon_id" column in the data set "3", so there are no taxon IDs.
2: The data set "4" is named, but not named by taxon ids.

y

5163 taxa: aab. k__bacteria, aac. k__archaea ... hqp. s__borrelia spielmanii
5163 edges: NA->aab, NA->aac, aab->aad, aab->aae ... cre->hqm, bjf->hqn, blu->hqo, bwl->hqp
4 data sets:
otu_table:
# A tibble: 42,559 x 43
taxon_id otu_id JZ03601 JZ03602 JZ03603 JZ03701 JZ03702 JZ03703 JZ03801 JZ03802 JZ03803 JZ03901

1 csu OTU437… 0 1 0 0 0 0 1 0 0 0
2 csv OTU317… 0 0 0 0 2 0 0 0 0 0
3 csw OTU428… 0 0 0 2 0 0 0 0 0 0
# ... with 4.256e+04 more rows, and 31 more variables: JZ03902 , JZ03903 ,
# JZ03904 , JZ04001 , JZ04002 , JZ04003 , JZ04101 , JZ04102 ,
# JZ04103 , JZ04104 , …
tax_data:
# A tibble: 42,559 x 8
taxon_id kingdom phylum class order family genus species

1 csu k__bacteria p__proteobacteria c__gammaproteobacteria o__ente… f__ente… g__en… s__enter…
2 csv k__bacteria p__proteobacteria c__gammaproteobacteria o__ente… f__ente… g__kl… s__klebs…
3 csw k__bacteria p__actinobacteria c__actinobacteria o__acti… f__acti… g__th… s__therm…
# ... with 4.256e+04 more rows
sam_data:
# A tibble: 41 x 42
sample_ids otu_id Chemical_Sample… Site ARC Season Sample_dates Yield Pea_Color Height Plot

1 JZ03601 JZ03601 25 Hunt… Sout… Summer 08/05/16 877 Yellow 41 dryl…
2 JZ03602 JZ03602 25 Hunt… Sout… Summer 08/05/16 877 Yellow 41 dryl…
3 JZ03603 JZ03603 25 Hunt… Sout… Summer 08/05/16 877 Yellow 41 dryl…
# ... with 38 more rows, and 31 more variables: sample_depth , AG_station ,
# Variety , Organic_Matter , Moisture_Content , Nitrate_Nitrite ,
# Ammonia , Av_Phosphorus , Av_Potassium , Sulfate_Sulfur , …
phylo_tree:

  Phylogenetic tree with 42559 tips and 42558 internal nodes.
  
  Tip labels:
  	OTU43775, OTU31754, OTU42881, OTU23254, OTU36873, OTU51405, ...
  
  Rooted; includes branch lengths.

0 functions:

subsetted <- filter_taxa(y, n_supertaxa > 1)
Error in access(physeq, "otu_table", TRUE) : otu_table slot is empty.

heat_tree(filter_taxa(y, name == "Archaea", subtaxa = TRUE),

  •       node_size = n_obs, node_label = name, 
    
  •       node_color = n_obs, layout = "fruchterman-reingold")
    

Error in filter_taxa(y, name == "Archaea", subtaxa = TRUE) :
unused argument (subtaxa = TRUE)

unable to filter or subset. help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions