RNA seq normalization(TMM)
1
0
Entering edit mode
6.2 years ago
maryak ▴ 20

i have htseq-count data now i want to normalize it using TMM for diffrential expression analysis .can anybody tell me how to do this Thanking in anticipation

rna-seq R gene • 8.6k views
ADD COMMENT
1
Entering edit mode
6.2 years ago
h.mon 35k

The edgeR User Guide is an excellent read, and has the answer to this question, and probably the answer to some questions you will have in the near future.

ADD COMMENT
0
Entering edit mode

can you please guide me in the form of code because i am new with R

ADD REPLY
0
Entering edit mode

Read the edgeR User Guide, it has plenty of code examples to guide you through the whole analysis, from the very beginning to the very end. Then, if /when you have difficulties, show us how is your data (ideally, with a small example), tell us what you did (the code), and the error you got.

The Similar Posts links to the right are also a great resource, and indeed I found one link with code and explanations about TMM normalization which would probably be very helpful to you.

ADD REPLY
0
Entering edit mode

i have run this code but no file is created even after the program is executed successfully and no error message appears

library(edgeR)
seqdata <- read.delim("C:\\Users\\hp folio\\Desktop\\TCGA-DLBC.htseq_counts.tsv")
scale.factors <- calcNormFactors(seqdata,lib.size=NULL method = "TMM")
norm.data <- t(t(seqdata)/(scale.factors*lib.size))
write.csv(norm.data,"C:\\Users\\hp folio\\Desktop\\TMM.csv")
ADD REPLY
0
Entering edit mode

I suspect that you have a problem on write.csv line. Check your path is correct or not.

ADD REPLY
0
Entering edit mode

if path is incorrect at least it must show some error... and i checked there is no problem in path

ADD REPLY
0
Entering edit mode

if path is incorrect at least it must show some error... and i checked there is no problem in path

ADD REPLY

Login before adding your answer.

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