Is logNormCounts log2 normalised counts as default?
1
0
Entering edit mode
@3e647591
Last seen 15 months ago
United Kingdom

Hi,

I was asked the question today, if the 'logcounts' you get from running logNormCounts with defaults gives you log2 normalised counts. I assumed yes but I thought I should double check.

I looked at the documentation and it would indicate in the transform argument that the default is to use log.

When I look in the documentation for log() I see that the default is e.

I thought this didn't seem right so I ran a quick test comparing the outputs and it seems that logNormCounts does actually return log2 normalised counts as I originally assumed.

Unless I have completely misunderstood something is the documentation potentially misleading?

scuttle scater • 1.6k views
ADD COMMENT
0
Entering edit mode
@alanocallaghan-14291
Last seen 6 months ago
United Kingdom

The documentation for ?normalizeCounts indicates it is indeed log2 normalisation

ADD COMMENT
0
Entering edit mode

Sorry, I was confused. It says the default for transform is log but the default for log is e in the documentation for logNormCounts. I didn't go through to normalizeCounts.

ADD REPLY
0
Entering edit mode

It's log2. See ?logNormCounts. Everything in bioinformatics is typically log with base 2.

ADD REPLY

Login before adding your answer.

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