For loop 如何进行循环报价
我需要多次这样做:For loop 如何进行循环报价,for-loop,double-quotes,quotations,For Loop,Double Quotes,Quotations,我需要多次这样做: y <- org.Mm.egGO2ALLEGS Rkeys(y) <- "GO:0043269" ID <- mappedLkeys(y) gogenes <- contr.results$bh_wh$ENTREZ.ID %in% ID z <- contr.results$bh_wh[gogenes,] y for (i in names(GOlist)) { y <- org.Mm.egGO2ALLEGS
y <- org.Mm.egGO2ALLEGS
Rkeys(y) <- "GO:0043269"
ID <- mappedLkeys(y)
gogenes <- contr.results$bh_wh$ENTREZ.ID %in% ID
z <- contr.results$bh_wh[gogenes,]
y
for (i in names(GOlist)) {
y <- org.Mm.egGO2ALLEGS
Rkeys(y) <- i
ID <- mappedLkeys(y)
gogenes <- contr.results$bh_wh$ENTREZ.ID %in% ID
Golist[[i]] <- contr.results$bh_wh[[gogenes,]]
}