deseq2 RLE normalization
1
0
Entering edit mode
SH • 0
@55ad8686
Last seen 3 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 • 892 views
ADD COMMENT
1
Entering edit mode
ATpoint ★ 4.0k
@atpoint-13662
Last seen 7 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: 910 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