Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ega2d
    Member
    • Oct 2010
    • 12

    DEXSeq and formuladispersions error

    Hi all,

    I'm having some trouble with the portion of 'estimateDispersions' of DEXSeq. It worked when I didn't add in the formuladispersion part of the command, but when I add it in, it gives the following error:

    > ecs <- estimateDispersions(ecs, formula = formuladispersion, maxExon = 250, quiet = FALSE)

    Dispersion estimation. (Progress report: one dot per 100 genes)
    Error in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) :
    contrasts can be applied only to factors with 2 or more levels


    Here are more details about my experimental set up:

    > design(ecs)
    condition replicate type
    L1 Fetal 1 paired-end
    L2 Fetal 2 paired-end
    L3 Fetal 3 paired-end
    J4 Adolescent 1 paired-end
    J6 Adolescent 2 paired-end
    J8 Adolescent 3 paired-end
    A5 Adult 1 paired-end
    A6 Adult 2 paired-end
    A7 Adult 3 paired-end

    > formuladispersion
    count ~ sample + (exon + type) * condition

    Any suggestions, clarifications, or links would be greatly appreciated.
  • Simon Anders
    Senior Member
    • Feb 2010
    • 995

    #2
    If all your library are paired-end, you do not need a factor 'type' for this. Remove it and use the default values for the formulae.

    Comment

    Latest Articles

    Collapse

    • GATTACAT
      Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
      by GATTACAT
      Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
      07-01-2026, 11:43 AM
    • SEQadmin2
      Nine Things a Sample Prep Scientist Thinks About Before Sequencing
      by SEQadmin2


      I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

      Here are nine questions we think about, in roughly the order they matter, before...
      06-18-2026, 07:11 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 07-02-2026, 11:08 AM
    0 responses
    25 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-30-2026, 05:37 AM
    0 responses
    23 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-26-2026, 11:10 AM
    0 responses
    23 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-17-2026, 06:09 AM
    0 responses
    55 views
    0 reactions
    Last Post SEQadmin2  
    Working...