Git Product home page Git Product logo

Comments (4)

jbisanz avatar jbisanz commented on August 11, 2024

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.

Avtober avatar Avtober commented on August 11, 2024

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.

Avtober avatar Avtober commented on August 11, 2024

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.

jbisanz avatar jbisanz commented on August 11, 2024

Great to hear!

from qiime2r.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.