I do have three tissue and three treatment conditions in physeq object. My aim is to only want to use the soil sample and want to see the treatment effect on microbial abundance.
How should I remove other tissue and only retain the soil sample in phyloseq
object.
sample details:
summary(sample_data(physeq)$Tissue)
Leaf Root Soil
And each tissue has given 3 treatment.
summary(sample_data(physeq)$Treatment)
T1 T2 T3
Thanks
Thanks a lot, I tried below code but it is showing error, could please suggest how I can correct this mistake:
Thanks, I got it, if I replace SampleType with Tissue then its works:
Thanks
Hello,
I subset my data (based on only one time point) in phyloseq and wanted to performed a PCoA only with this subset but I still have the all dataset that appear in my PCoA even if the unwanted samples are not any more labelled.
Global subset:
After subsetting:
Any idea? Thanks,
You only have subset samples not taxa, you need to remove taxa which have 0 counts in your all samples. look at the prune_taxa command.