Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • luana
    Member
    • May 2016
    • 14

    Deseq2

    Hello guys,

    I need to run Deseq2, but when I try to run this part of command the following error message appears.

    dds <- DESeqDataSetFromMatrix(countData = countData,
    + colData = design,
    + design = ~ condition)

    Error in DESeqDataSet(se, design = design, ignoreRank) :
    NA values are not allowed in the count matrix


    I've looked at my table but don't have NA values.
    What can I do to solve?

    thanks!
  • fanli
    Senior Member
    • Jul 2014
    • 197

    #2
    Well, that seems as clear an error message as can be. Since we can't see your dataset, can you verify with output from:

    any(is.na(countData))
    all(is.numeric(countData))

    Comment

    • luana
      Member
      • May 2016
      • 14

      #3
      The problem is when I put a table with 22480 genes at end Deseq2 gives me a table with 16668 genes, 5000 genes are cut.
      And when I try to run this part
      dds <- DESeqDataSetFromMatrix(countData = countData,
      colData = design,
      design = ~ condition)

      this mesage appears
      Error in DESeqDataSet(se, design = design, ignoreRank) :
      NA values are not allowed in the count matrix

      I tried your command fanli, but didn't work

      I don't know how to fix this!

      Comment

      • Persistent LABS
        Member
        • Apr 2016
        • 21

        #4
        Originally posted by luana View Post
        The problem is when I put a table with 22480 genes at end Deseq2 gives me a table with 16668 genes, 5000 genes are cut.
        And when I try to run this part
        dds <- DESeqDataSetFromMatrix(countData = countData,
        colData = design,
        design = ~ condition)

        this mesage appears
        Error in DESeqDataSet(se, design = design, ignoreRank) :
        NA values are not allowed in the count matrix

        I tried your command fanli, but didn't work

        I don't know how to fix this!
        The error message suggests that your countData table has NA values. To confirm it, fanli has suggested to share the output of the two commands. Please share the output.
        Persistent LABS

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Cancer Drug Resistance: The Lingering Barrier to Rising Survival
          by SEQadmin2



          Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

          There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
          Today, 05:17 AM
        • 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, Today, 10:08 AM
        0 responses
        5 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 11:05 AM
        0 responses
        7 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-02-2026, 11:08 AM
        0 responses
        30 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-30-2026, 05:37 AM
        0 responses
        28 views
        0 reactions
        Last Post SEQadmin2  
        Working...