deseq2 RLE normalization
1
1
Entering edit mode
SH ▴ 10
@55ad8686
Last seen 10 months ago
South Korea

Hi. how can I normalize raw counts using RLE option? I've looked into deseq2 manual, but there's no information about RLE normalization. It seems it has removed or changed. Here's my code below. Code should be placed in three backticks as shown below. The codes are reffered from chatgpt. Thanks for help. Best regards,

dds <- DESeqDataSetFromMatrix(countData = Counts, colData = coldata, design = ~condition)

# Estimate size factors using RLE method
dds <- estimateSizeFactors(dds, type="relative")
**Error in match.arg(type, c("ratio", "poscounts", "iterate")) :
'arg' should be one of “ratio”, “poscounts”, “iterate”**

# Retrieve normalized counts
normcounts <- counts(dds, normalized=TRUE)
RLE normalization deseq2 • 1.4k views
ADD COMMENT
1
Entering edit mode
ATpoint ★ 4.5k
@atpoint-13662
Last seen 9 hours ago
Germany

Use the function with default settings. That is what RLE is. See the funcrion help to see what the three options mean or just leave at default which is fine most of the time.

ADD COMMENT

Login before adding your answer.

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