Entering edit mode
linya
•
0
@linya-11536
Last seen 9.2 years ago
Hi,
I am using edgeR to analyze differential expression of my RNA-Seq data. I am getting a plot of log-fold change vs log-counts per million with plotSmear function. I am wondering how can I export all the data as excel file containing gene name, logFC, logCPM, PValue, and FDR. Thanks!

Thanks so much! Gordon. I just tried your code. It only shows the top 10 genes.
I would like to have all the up or downregulated gene list with logFC, logCPM, Pvalue, and FDR. Would you have some suggestions? Thanks!
If you read
?topTags, you can see that thenparameter is the relevant argument. Try settingn=Inf.Thanks! It works!
> tab<-topTags(lrt,n=Inf)
> write.csv(tab,file="my file.csv")