Can logFC be used to determine effect size?
2
0
Entering edit mode
Guest User ★ 13k
@guest-user-4897
Last seen 9.6 years ago
Hello, I am trying to work out the meaning of logFC in the toptable from limma package. Some sources say that it is the log2 of FC and others say that it is not. Is this value the actual difference in averages of cases and controls (and as such can it be used to determine effect size)? Regards, Jack -- output of sessionInfo(): R version 2.15.2 Patched (2012-11-28 r61176) -- Sent via the guest posting facility at bioconductor.org.
• 1.9k views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 4 hours ago
United States
Hi Jack, On 8/9/2013 5:02 AM, Jack [guest] wrote: > Hello, > I am trying to work out the meaning of logFC in the toptable from limma package. Some sources say that it is the log2 of FC and others say that it is not. The logFC column is a coefficient from your model (or the numerator from a contrast). If you have set things up correctly, it will be the log2 of FC between two or more sample types. In other words, if you are doing a simple case vs control, and you specify the model correctly and select the proper coefficient for your topTable(), then the logFC will be the log fold change between the two groups. And note that log(A/B) = log(A) - log(B), and what you are doing with limma is usually taking logged data and computing the difference in means. So you are computing the right hand side of that equation, but it is identical to the left hand side. Best, Jim > > Is this value the actual difference in averages of cases and controls (and as such can it be used to determine effect size)? > > Regards, > Jack > > -- output of sessionInfo(): > > R version 2.15.2 Patched (2012-11-28 r61176) > > -- > Sent via the guest posting facility at bioconductor.org. > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- James W. MacDonald, M.S. Biostatistician University of Washington Environmental and Occupational Health Sciences 4225 Roosevelt Way NE, # 100 Seattle WA 98105-6099
ADD COMMENT
0
Entering edit mode
@gordon-smyth
Last seen 40 minutes ago
WEHI, Melbourne, Australia

The best way to find out what something means is to read the documentation. If you want to know what logFC is from toptable, then open the help page help("toptable") and scan down for the entry for logFC, which says:

"logFC: estimate of the log2-fold-change corresponding to the effect or contrast"

Every output quantity is carefully documented in this way.

What sources say that logFC is not the log2 fold-change?

Gordon

ADD COMMENT

Login before adding your answer.

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