Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help needed: Removing cross-contaminated genera from microtable-class Object #428

Open
JayalalKJ opened this issue Oct 29, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@JayalalKJ
Copy link

JayalalKJ commented Oct 29, 2024

Hi,

I have encountered an issue with cross-contamination during DNA sequencing. Specifically, I identified two genera, genus1__Otu00003 and genus2__Otu00005 (note that I just pasted out the genus column with the Otu column, which resulted in genus1__Otu00003 and genus2__Otu00005), that appeared in my negative control. I want to remove these contaminated taxa from my micro table object and continue downstream analysis.

@ChiLiubio
Copy link
Owner

Hi. You can manipulate the tax_table as you want. It should be something like this.

tmp <- dataset$tax_table
tmp <- tmp[tmp$Genus != "genus1__Otu00003", ]
dataset$tax_table <- tmp
dataset$tidy_dataset()

@ChiLiubio ChiLiubio added the documentation Improvements or additions to documentation label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants