Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • raphael123
    Member
    • Dec 2013
    • 37

    EdgeR -- normalisation and paired test.

    Hi I am runing EdgeR to make an exact t-test (Iwould like to do a pairwise cmparaison but I am still not sure about that).
    So here is to way I can compare time 0 versus time 8 for the positive responder on the experiment.
    In one case I am normalising with all my data, then I filter all those who respond positively
    In the other case I just take the positive responder for normalisation.

    Of course the first case seems better but I would like to have your comments ...
    Question : Would you take some data from another experiment to help data normalisation ?
    Question : Would you give me a tips to use subject number to pair my sample over time ?

    Code:
    miRNA=read.table("merged_filtered_data.csv", header=TRUE,row.names=1)
    roundmiRNA=round(miRNA)
    
    info=read.table("samples_infos.csv", header=TRUE,row.names=1)
    miRNAdesign=data.frame(row.names = colnames(info),
      week=t(info)[,"week"],
      subject=t(info)[,"sub"],
      response=t(info)[,"MARSD"]
    )
    
    is_responder=miRNAdesign$response==1
    
    #first way to do it
    
    y <- DGEList(counts=roundmiRNA,group=miRNAdesign$week)
    y <- calcNormFactors(y)
    y <- estimateCommonDisp(y, verbose=TRUE)
    y <- estimateTagwiseDisp(y,trend="none")
    et <- exactTest(y[,is_responder])
    topTags(et)
    
    
    #second way to do it
    
    y <- DGEList(counts=roundmiRNA[,is_responder],group=miRNAdesign$week[is_responder])
    y <- calcNormFactors(y)
    y <- estimateCommonDisp(y, verbose=TRUE)
    y <- estimateTagwiseDisp(y,trend="none")
    et <- exactTest(y)
    topTags(et)
  • TiborNagy
    Senior Member
    • Mar 2010
    • 329

    #2
    You can download data of other experiments from SRA.

    Comment

    Latest Articles

    Collapse

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 06-09-2026, 11:58 AM
    0 responses
    14 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-05-2026, 10:09 AM
    0 responses
    26 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-04-2026, 08:59 AM
    0 responses
    37 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-02-2026, 12:03 PM
    0 responses
    61 views
    0 reactions
    Last Post SEQadmin2  
    Working...