Entering edit mode
Hi,
I have got 9 treatment (T1 to T9) and two tissue (Root and Leaf). I want to compare T1 vs rest of the treatment conditions (T2 to T9) within each tissue. I just want to know where should I put T1 in the below so that it can be used as the control for all comparison.
dds6Genus = phyloseq_to_deseq2(physeq6Genus, ~1)
dds6Genus$group <- as.factor(paste(dds6Genus$Treatment,dds6Genus$Tissue,sep="."))
design(dds6Genus) <- ~ group
dds6Genus = DESeq(dds6Genus, test="Wald", sfType = "poscounts", fitType="local")
#######################
T1.Root_vs_T2.Root<-results(dds6Genus,contrast=c("group","T1.Root","T2.Root"), cooksCutoff = FALSE)
like this rest of the comparison within each tissue
or
T1.Root_vs_T2.Root<-results(dds6Genus,contrast=c("group","T2.Root","T1.Root"), cooksCutoff = FALSE)
which one of these two is correct?
many thanks
Thanks Michael,
I understand that I should use the contrast like this for all comparison;
T2.RootvsT1.Root<-results(dds6Genus,contrast=c("group","T2.Root","T1.Root"), cooksCutoff = FALSE) T3.RootvsT1.Root<-results(dds6Genus,contrast=c("group","T3.Root","T1.Root"), cooksCutoff = FALSE) T4.RootvsT1.Root<-results(dds6Genus,contrast=c("group","T4.Root","T1.Root"), cooksCutoff = FALSE) and like this for the comparison?
Could you please suggest if I have made any mistake to understand the contrast command?
Many thanks
Thanks Michael,
I understand that I should use the contrast like this for all comparison;
Could you please suggest if I have made any mistake to understand the contrast command?
Many thanks
I don't really have time to do code review in general here, but I reserve my time for specific software questions.