Thank you dsull, this is really helpful.Yes, I think that the Targets are my genes of interest and Control is the housekeeping gene. Just to make sure I understand this correctly, according to Kevin's post linked above, would the calculations be as follows:
hsa-miR-10a-4373153 delta Ct in C1, C3, C5, C9, C10 (control) samples: [(28.005966+26.322796+39.750206+15.856442+38.137985)/5] - [(17.341375+22.460772+28.180124+29.629637+26.986668)/5] = 4.69
hsa-miR-10a-4373153 delta Ct in T2, T4, T6, T7, T8 (treatment) samples: [(30.973469+26.441898+23.004385+22.239546+29.590443)/5] - [(30.41161+23.158352+23.81621+23.754929+21.323061)/5] = 1.95
and so on for the other genes. This means that for each gene, I'll have two delta CT(one for the C samples and one for the T samples), correct?
Then delta delta CT for hsa-miR-10a-4373153 is: 1.95-4.69 = -2.74 (this is also -log2FC) And finally, 2 ^ (- ddCt) = 2 ^ (2.74) = 6.68
Have I understood this correctly? And finally, the calculations above are for the case when you have just one housekeeping gene but I have two. Does that mean that I have to average their values first like this:
MammU6-4395470 for C1: (17.341375+17.40666)/2 = 17.37
MammU6-4395470 for T2: (30.41161+20.914383)/2 = 25.66 and so on. And then just use these new averaged values for the delta CT calculations?
Thank you!
Post your dataset please or an example dataset that is similar to yours.
Thanks for formatting the code properly. Next time please either edit your original post or reply to mine but don't add a comments. Comments are for answers.
Question: what is
Taskfor?edit: I think the
pcrpackage is a good start for you. It has good documentation: https://cran.r-project.org/web/packages/pcr/vignettes/qpcr_analysis.htmlBut I realise you are asking HOW to calculate deltaCT and this doesn't answer your question. The issue is I'm not seeing your experimental design or rather I'm not understanding your data. If you elaborate we can help you some more.
Thank you for the suggestions, Amar! I'm trying to understand the data myself since I haven't dealt with miRNA data before. Basically, I think the Task column (Target /Control) represents the target gene vs housekeeping gene? I'm just trying to clarify what is the right way to calculate delta CT and delta delta CT based on this specific dataset I have, since the various posts/articles I've read have honestly just left me even more confused..
Can you please edit the title of your question? "Delta CT in R" is very meaningless.
Quoting from How To Ask Good Questions On Technical And Scientific Forums
Thank you for the suggestion, I have made the change. Hopefully, the new title is more appropriate.
Does this help? - A: How to report and plot qPCR data
That's extremely helpful, thank you Kevin! I have asked this question in my reply to dsull as well but just to confirm, if I follow your calculation steps in the link and apply that algorithm to my dataset, I'd basically have 2 delta CTs for each gene, right? One for the C samples and one for the T sample? And then the delta delta CT for that gene would just be the difference between the two deltas, correct? And finally, if let's say I wanted to perform a Limma test to compare the C and T groups, I assume the test would have to be performed using those delta CT values, right?
Replied to your comment in my answer below.