SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert VCF files to BCF files janaahan13 Bioinformatics 3 09-16-2015 06:47 AM
sam files convert to bam files error awayihaha Bioinformatics 7 03-11-2014 10:03 AM
How to convert old SOLEXA files to fastq? sameet Illumina/Solexa 3 08-19-2013 06:44 PM
convert plink files to VCF fadista General 0 11-29-2012 04:30 PM
convert base call files (*.bcl) into files (*_qseq.txt) giampe Bioinformatics 12 10-20-2011 09:45 AM

Reply
 
Thread Tools
Old 03-05-2016, 03:12 PM   #1
lamartin
Junior Member
 
Location: United States

Join Date: Jan 2016
Posts: 2
Default EdgeR - how to convert DGELRT and other classes to .csv files

Currently using edgeR to look at differential expression. I am struggling to take the edgeR values (specifically DGELRT-class produced after the QL F-test) and convert them to .csv files.

I am frustrated with edgeR because it does not seem there is an easy way to do this. The edgeR package has excellent documentation, I cannot find help for extract the information generated.

It is not included in the examples in the user manual. Subsetting, suggested in user manual (https://bioconductor.org/packages/re.../man/edgeR.pdf) simply makes another DGELRT class. I cannot find the Extract option in the baseline package.

Any thoughts on how to take a DGELRT value and make it a data object in R (to be written as a .csv file)?
lamartin is offline   Reply With Quote
Old 03-05-2016, 03:42 PM   #2
lamartin
Junior Member
 
Location: United States

Join Date: Jan 2016
Posts: 2
Default

Answer provided by Aaron Lun on bioconductor:
out <- topTags(results, n=Inf)
write.csv(out, file="blah.csv")
lamartin is offline   Reply With Quote
Reply

Tags
edger

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 11:55 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO