Comments (4)
Believe it or not, I do not use phyloseq directly very often but I can try to help. I think the error is suggesting after applying the filter there are no samples. If you look at sample_data(physeq1)
is there a column called country and does it have "Namibia" for at least one sample?
from qiime2r.
Hi @jbisanz,
Thanks for your reply. I had a look at the sample data and it looks like Namibia is there. My table looks a bit weird tho, it is a .txt file so not sure if this is the problem, it worked fine in qiime2 though.
head(sample_data(physeq1))
Sample Data: [6 samples by 5 sample variables]:
snail.id country site morph.id.genus
020221-AT-1 N.1A.Lym1.5 Namibia 1A Lymnaea/Radix
020221-AT-10 N.1D.Bul1.3 Namibia 1D Bulinus
020221-AT-100 SA.1Db.Biom.un South Africa 1D Biomphlaria
020221-AT-101 SA.1D.Bmp.1 South Africa 1D Biomphlaria
020221-AT-102 SA.5A.Bmp.1 South Africa 5A Biomphlaria
020221-AT-103 SA.5A.Bmp.2 South Africa 5A Biomphlaria
shedding
020221-AT-1 no
020221-AT-10 no
020221-AT-100 no
020221-AT-101 no
020221-AT-102 no
020221-AT-103 no
Thanks, Anya
from qiime2r.
Hi @jbisanz I had a look at my data and noticed that "Namibia" was actually "Namibia ". Adding the space into my code fixed the problem!
Best
Anya
from qiime2r.
Great to hear!
from qiime2r.
Related Issues (20)
- Exporting R objects to qza files
- qiime2 to Phyloseq HOT 1
- taxa_barplot plots all taxa as remainder when a sample has 0 reads
- close HOT 1
- summarize_taxa HOT 1
- error with installing qiime2R HOT 4
- Unable to Install qiime2R HOT 3
- taxa_barplot and taxa_heatmap ordering x-axis by alphabetical order HOT 1
- Problem installing qiime2R in R 4.3.1 HOT 1
- QZA to FASTA? HOT 1
- Phyloseq Object have 0 in OTU table HOT 2
- How to import nucleotide sequences [refseq() or DNAStringSet] using qiime2R
- taxa_heatmap() sample order
- Support for TreeSummarizedExperiment container? HOT 7
- OTU with sequence instead of unique identifier as row names? HOT 1
- `Error in file(con, 'r") : cannot open the connection` when user inputs incorrect filename into metadata parameter in `qza_to_phyloseq`` HOT 1
- Error when i call phyloseq object imported by qza_to_phyloseq
- update parse_taxonomy for new PR2v5 (April 2023) nine level taxonomy
- Support for DataLoafPackageDirFmt format to import ANCOM-BC results QZA files
- qiime2R error in download, install? R v 4.4.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qiime2r.