DESeq2: contrasts vs results_names coefficents
0
0
Entering edit mode
23 months ago
Synanth • 0

Hi

I'm working on a model matrix for DESeq2, and have used the trick of grouping factors e.g.,

group <- paste0(coldata$time, ".", coldata$condition)
coldata$time.cond <- factor(group)
dds <- DESeqDataSetFromMatrix(countData = counts, colData=coldata, design=~time.cond)

This works when examining individual contrasts, but I was wondering if there were any way to get the results_names to reflect all permutations (mainly for transferring coefficients to a heatmap.)

Thank you so much,
Synanth

RNASeq R DESeq2 • 629 views
ADD COMMENT
0
Entering edit mode

I'm not totally clear on what it is that you a looking for, but if you want the coefficients for each gene model you can use the coef function like coef(dds)

ADD REPLY

Login before adding your answer.

Traffic: 1692 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