@@ -39,12 +39,12 @@ dim(dat)
3939``` {r}
4040my.dat <- subsetByCurator(dat, curator="Fatima Zohra")
4141table(my.dat[,"Condition"])
42- condsnew <-c("bipolar disorder","unipolar depression ")
42+ condsnew <-c("bipolar disorder","major depressive disorder ")
4343condsnew <-c("bipolar disorder")
4444
4545efo <- bugsigdbr::getOntology("efo")
4646dat.bpd <- bugsigdbr::subsetByOntology(dat, column = "Condition", "bipolar disorder", efo)
47- dat.upd <- bugsigdbr::subsetByOntology(dat, column = "Condition", "unipolar depression ", efo)
47+ dat.upd <- bugsigdbr::subsetByOntology(dat, column = "Condition", "major depressive disorder ", efo)
4848my.dat.cond <- rbind(dat.bpd, dat.upd)
4949table(my.dat.cond[,"Condition"])
5050
@@ -104,9 +104,9 @@ my.dat.mdd <- my.dat.cond[!ind,]
104104dim(my.dat.mdd)
105105table(my.dat.mdd[,"Condition"])
106106
107- getMostFrequentTaxa(my.dat.mdd, n=20)
108- getMostFrequentTaxa(my.dat.mdd,sig.type= "increased ")
109- getMostFrequentTaxa(my.dat.mdd,sig.type= "decreased ")
107+ getMostFrequentTaxa(my.dat.mdd, n= 20)
108+ getMostFrequentTaxa(my.dat.mdd,, "UP ")
109+ getMostFrequentTaxa(my.dat.mdd,, "DOWN ")
110110```
111111
112112## Binomial test "Increased in bipolar"
0 commit comments