RLE plot of DESeq2 normalisation / extract matrix of normalised counts from DESeqDataSet
Entering edit mode
f_pardow • 0
Last seen 22 months ago


I am comparing different normalisation methods for my count table (I'm doing RNAseq analysis). One of them is DESeq2, the other one is RUVs. One way to compare them is to look at the unwanted variation that is still in the dataset after normalisation. This can be visualised using RLE plots.

RLE plots can be made using the function plotRLE. The main argument for this function is the object to be plotted. This can be a numeric matrix or a SeqExpressionSet object containing the gene expression.

For the RUVs normalisation making an RLE plot is simple as the normalised object is a SeqExpressionSet. However, for the DESeqDataSet, it is more complicated. Could somebody tell me how to extract the count matrix with normalised counts from the DESeqDataSet?

For reference, my code to plot the RLE plot for the RUVs normalisation is the following:

set <- newSeqExpressionSet(counts = as.matrix(counts), phenoData = sample_info) 
setUQ <- betweenLaneNormalization(set, which="upper")
genes <- rownames(counts)
replicates <- makeGroups(control) # control is a column of sample_info and therefore information from the SeqExpressionSet
setRUVs9 <- RUVs(setUQ, genes, k = 9, replicates)

Thanks a lot in advance. Felicitas

deseq2 RLE • 971 views
Entering edit mode
Last seen 1 day ago
United States

Take a look at our help pages. There is a function counts with an argument normalized.


Login before adding your answer.

Traffic: 279 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6