This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to save DEXSeq result to a .csv file ?

Hello, I am doing alternative exon usage analysis using DEXSeq and following this documentation DEXSeq Documentation

After testing the result, how do I save me results as a .csv file ?

dxd <- estimateDispersions( dxd  )       dxd <- testForDEU( dxd     dxr <- DEXSeqResults( dxd )

Following the documentation, my code worked, but I do not know how to save the result as a .csv file. I also wanna obtain log2fc, how can I do it ? I searched a lot, but could not find an answer to my question. I appreciate your kind help.

Thank you very much for helping.

r rna-seq

1 answer

I ran results_df <- data.frame( groupID = dxr1$groupID, featureID = dxr1$featureID, log2FC = dxr1$log2fold_knockdown_control, pvalue = dxr1$pvalue, padj = dxr1$padj )

write.csv(results_df, file = "dexseq_results.csv", row.names = FALSE), then I got my file, which included log2fc data.

Thanks for your help. I appreciate.

Log in to answer this question.