subsetting in limma
2
0
Entering edit mode
@echang4lifeuiucedu-788
Last seen 9.6 years ago
Hi Bioconductor users, This is a very naive question on exporting subsets in limma. But I am not very familiar with pogramming. I am trying to work through the limma user guide Sec 8.8 "Time Course Experiments". I am able to complete the limma analysis but I am stuck after subsetting the genes to only include genes with adj. p values < 0.05 > fit2 = contrasts.fit(fit, cont.matrix) > fit2 = eBayes(fit2) > results2 <- decideTests(fit2) > selected.wt<- p.adjust(fit2$F.p.value, method="fdr") < 0.05 My question is how do I export the genes names in "selected.wt" out as a text file? I tried > write.csv(selected.wt, "selected.wt.csv") but I get a single column with TRUE and FALSE. Thank you very much, Edmund
limma limma • 898 views
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 3 months ago
United States
On 1/23/06 11:44 PM, "echang4 at life.uiuc.edu" <echang4 at="" life.uiuc.edu=""> wrote: > Hi Bioconductor users, > This is a very naive question on exporting subsets in limma. But I am not > very familiar with pogramming. > > I am trying to work through the limma user guide Sec 8.8 "Time Course > Experiments". I am able to complete the limma analysis but I am stuck > after subsetting the genes to only include genes with adj. p values < 0.05 > >> fit2 = contrasts.fit(fit, cont.matrix) >> fit2 = eBayes(fit2) >> results2 <- decideTests(fit2) >> selected.wt<- p.adjust(fit2$F.p.value, method="fdr") < 0.05 > > My question is how do I export the genes names in "selected.wt" out as a > text file? You might want to look at ?write.fit. Sean
ADD COMMENT
0
Entering edit mode
@lourdes-pena-castillo-1305
Last seen 9.6 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20060125/ ea01238d/attachment.pl
ADD COMMENT

Login before adding your answer.

Traffic: 470 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6