Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Question of using DESeq for non-replicate samples

    HI.

    I've tried the package DESeq and want to apply in our datasets: two samples without replicates.

    I first summarized the counts in a table:
    brain liver
    uc001aaa.3 0 0
    uc001aac.4 0 0
    uc001aae.4 0 0
    ...
    ...

    By following code:

    >over<-read.table("wokao.txt",header=T,row.names=1)
    >conds<-c("brain","liver")
    >cds<-newCountDataSet(over,conds)
    >cds<-estimateSizeFactors(cds)
    >cds<-estimateDispersions(cds,method="blind",sharingMode="fit-only")
    Error in parametricDispersionFit(means, disps) :
    Parametric dispersion fit failed. Try a local fit and/or a pooled estimation. (See '?estimateDispersions')

    >cds2=cds[,c("brain","liver")]
    >cds2=estimateSizeFactors(cds2)
    >cds2=estimateDispersions(cds2,method="blind",sharingMode="fit-only")
    Error in parametricDispersionFit(means, disps) :
    Parametric dispersion fit failed. Try a local fit and/or a pooled estimation. (See '?estimateDispersions')

    I have no idea why there is the error. May you give some guides.

  • #2
    Hi
    Not sure what DESeq version are you using. I did that analysis once (no replicates) with DESeq 1.9.15 :

    Code:
    countsTable <- read.table(args[5], header=TRUE, stringsAsFactors=TRUE)
    rownames( countsTable ) <- countsTable$gene
    countsTable <- countsTable[ , -1 ]
    conds <- c("WT", "MU" )
    cds <- newCountDataSet( countsTable, conds )
    cds <- estimateSizeFactors( cds )
    sizeFactors( cds )
    cds <- estimateDispersions( cds, method="blind", fitType="local", sharingMode="fit-only" )
    res <- nbinomTest( cds, "WT", "MU" )
    Where the input table is like:

    Code:
    gene	WT	MU	
    Gene_00001	0	0
    Gene_00002	20	8
    Gene_00003	3	0
    Hope it works!

    Comment


    • #3
      Thanks, I have got it.

      Originally posted by cascoamarillo View Post
      Hi
      Not sure what DESeq version are you using. I did that analysis once (no replicates) with DESeq 1.9.15 :

      Code:
      countsTable <- read.table(args[5], header=TRUE, stringsAsFactors=TRUE)
      rownames( countsTable ) <- countsTable$gene
      countsTable <- countsTable[ , -1 ]
      conds <- c("WT", "MU" )
      cds <- newCountDataSet( countsTable, conds )
      cds <- estimateSizeFactors( cds )
      sizeFactors( cds )
      cds <- estimateDispersions( cds, method="blind", fitType="local", sharingMode="fit-only" )
      res <- nbinomTest( cds, "WT", "MU" )
      Where the input table is like:

      Code:
      gene	WT	MU	
      Gene_00001	0	0
      Gene_00002	20	8
      Gene_00003	3	0
      Hope it works!

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM
      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 11:49 AM
      0 responses
      15 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-24-2024, 08:47 AM
      0 responses
      16 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      61 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      60 views
      0 likes
      Last Post seqadmin  
      Working...
      X