You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to rarefy my data, and I want to first remove samples with less than 500 reads but I am running into an issue.
My phyloseq object:
phyloseq-class experiment-level object
otu_table() OTU Table: [ 457 taxa and 88 samples ]
sample_data() Sample Data: [ 88 samples by 4 sample variables ]
tax_table() Taxonomy Table: [ 457 taxa by 6 taxonomic ranks ]
The code and error:
# Remove samples with < 500 reads total
samples_over500 <- subset_samples(phylo, sample_sums(phylo) > 500)
Error in access(object, "otu_table", errorIfNULL) :
otu_table slot is empty.
I've checked other sources for this error and there doesn't seem to be a clear reason why this occurs. I am using Phyloseq package version 1.42.0 on R Studio version 2024.04.2, with R version 4.2.0
The text was updated successfully, but these errors were encountered:
I'm trying to rarefy my data, and I want to first remove samples with less than 500 reads but I am running into an issue.
My phyloseq object:
The code and error:
I've checked other sources for this error and there doesn't seem to be a clear reason why this occurs. I am using Phyloseq package version 1.42.0 on R Studio version 2024.04.2, with R version 4.2.0
The text was updated successfully, but these errors were encountered: