Question: How to export rld (rlog) or vsd values from DESeq2?
2
gravatar for LuisNagano
2.2 years ago by
LuisNagano80
University of Campinas
LuisNagano80 wrote:

Hi guys, i want to export the rlog values from DESeq2 or vsd, but i only got the dds counts, using the following script:

countsdds <- counts(dds, normalized = TRUE)
write.csv(countsdds, file="dds_norm_counts.csv")

Is there a way to export rlog values?

Thanks for your help!

rna-seq deseq2 vsd rlog • 3.2k views
ADD COMMENTlink modified 2.2 years ago by WouterDeCoster45k • written 2.2 years ago by LuisNagano80
0
gravatar for WouterDeCoster
2.2 years ago by
Belgium
WouterDeCoster45k wrote:

Googling rld DESeq2 already gives me the answer, e.g. here

ADD COMMENTlink written 2.2 years ago by WouterDeCoster45k
1

Thank you, WouterDeCoster, but i don't want to apply the functions "rlog" or "vst", I just did that. I want to export the output values after run the function, like .csv or .xlsx format table to my directory.

ADD REPLYlink written 2.2 years ago by LuisNagano80
5
gravatar for WouterDeCoster
2.2 years ago by
Belgium
WouterDeCoster45k wrote:

Right, what about

rld <- assay(rlog(dds, blind=FALSE))
ADD COMMENTlink written 2.2 years ago by WouterDeCoster45k

Worked it out! Thank you, WouterDeCoster

ADD REPLYlink written 2.2 years ago by LuisNagano80
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1682 users visited in the last hour
_