Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thaleko
    Junior Member
    • Oct 2013
    • 4

    #16
    Hi,

    I have recently started using SeqGSEA to analyse RNAseq data from 12 tumors. (Paired-end, 70-90 mill reads, mapped with tophat, counted with htseq-count).

    I would like to compare two of these tumors (samples v6 and v11, see below) to the other ten regarding certain gene sets. However, I run into the following issue when following 6.3 in the manual (DE only):

    Genes with read count 0 across all 12 samples have been removed from my counts table.

    > nrow(counts)
    [1] 45418
    > head(counts)
    v1 v2 v3 v4 v5 v6 v7 v8 v9 v10 v11 v12
    ENSG00000000003 43888 15516 15307 4287 17635 3342 3904 7235 22298 12464 4476 10353
    ENSG00000000005 2238 35 27 23 81 0 12 46 335 39 4 56
    ENSG00000000419 2781 3032 1805 2644 2027 2651 3383 2230 2416 2070 2503 1381
    ENSG00000000457 1212 727 699 962 707 626 1054 944 950 647 507 493
    ENSG00000000460 524 538 396 640 415 1467 852 1073 568 419 409 399
    ENSG00000000938 173 1349 616 467 280 1769 987 1159 415 448 1591 679
    > label <- as.factor(c(0,0,0,0,0,1,0,0,0,0,1,0))
    > DEG <- newCountDataSet(counts,label)
    > DEG <- estimateSizeFactors(DEG)
    > DEG <- estimateDispersions(DEG, method="pooled", fitType="local")
    > DEGres <- DENBStat4GSEA(DEG)
    > permuteMat <- genpermuteMat(label, times=perm.times)
    > DEpermNBstat <- DENBStatPermut4GSEA(DEG, permuteMat)
    Error in { :
    task 1 failed - "Parametric dispersion fit failed. Try a local fit and/or a pooled estimation. (See '?estimateDispersions')"


    I am using estimateDispersions and estimateSizeFactors instead of runDESeq in order to use fitType=local and method=pooled, but am still experiencing trouble. Any idea what I'm doing wrong? Anyone else having this problem? Any help would be greatly appreciated!


    Cheers,
    Thale

    Comment

    • thaleko
      Junior Member
      • Oct 2013
      • 4

      #17
      I finally noticed that I need at least five samples per group, so I guess the problem is that I only have two tumors of interest...?

      Thanks anyway!

      Thale

      Comment

      • Yvone
        Junior Member
        • Oct 2013
        • 6

        #18
        Hello there,

        I encounter this problem. As I am using the DE-only approach, I dont't have a RCS object. Any ideas why the function genpermuteMat() doesn't take a vector? Thanks in advance!

        > label <- as.factor(c(rep(0,6), rep(1,6)))
        > permMat <- genpermuteMat(label, times=100)
        Error: is(RCS, "ReadCountSet") is not TRUE

        Comment

        • Yvone
          Junior Member
          • Oct 2013
          • 6

          #19
          Originally posted by Yvone View Post
          Hello there,

          I encounter this problem. As I am using the DE-only approach, I dont't have a RCS object. Any ideas why the function genpermuteMat() doesn't take a vector? Thanks in advance!

          > label <- as.factor(c(rep(0,6), rep(1,6)))
          > permMat <- genpermuteMat(label, times=100)
          Error: is(RCS, "ReadCountSet") is not TRUE
          Just figured out that it was an out-dated version of SeqGSEA. With the latest version, it works with vectors.

          But just out of curiosity, if I have 5 samples for each treatment group, then there are in a total of 252 combinations of randomly assigning labels. Then does it make sense to run 1000 permutation?

          Comment

          • Xi Wang
            Senior Member
            • Oct 2009
            • 317

            #20
            Originally posted by thaleko View Post
            I finally noticed that I need at least five samples per group, so I guess the problem is that I only have two tumors of interest...?

            Thanks anyway!

            Thale
            Sorry that the current version of SeqGSEA cannot work on less than 5 samples per group.

            Xi
            Xi Wang

            Comment

            • Xi Wang
              Senior Member
              • Oct 2009
              • 317

              #21
              Originally posted by Yvone View Post
              Just figured out that it was an out-dated version of SeqGSEA. With the latest version, it works with vectors.

              But just out of curiosity, if I have 5 samples for each treatment group, then there are in a total of 252 combinations of randomly assigning labels. Then does it make sense to run 1000 permutation?
              You are right. Maybe you can decrease the permutation time to 250, or increase your samples size. If there are 6 samples per group, the random label assignment makes 924 combinations. It will not be a problem if you have > 6 samples per group.
              Xi Wang

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                by SEQadmin2




                NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
                Today, 06:46 AM
              • SEQadmin2
                Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                by SEQadmin2



                Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                ...
                10-14-2026, 09:55 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 10-28-2026, 09:57 AM
              0 responses
              23 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-28-2026, 09:51 AM
              0 responses
              15 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 11:13 AM
              0 responses
              68 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 10:48 AM
              0 responses
              48 views
              0 reactions
              Last Post SEQadmin2  
              Working...