Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alisrpp
    Member
    • Dec 2010
    • 40

    #1

    DESeq no recognizing row.names

    Hi,

    I'm trying to use DESeq to know the differential expressed genes of my datasets and i'm encountering that DESeq is not recognizing my row.names so i can't create my cds.

    My .csv input file looks like:

    Code:
    transcript_id,C4,CRL_2APR10,CRL_1_15JUL11,CRL_2_15JUL11 
    comp1000201_c0_seq1,5.00,0.00,0.00,0.00
    comp1000297_c0_seq1,7.00,0.00,0.00,0.00
    comp100036_c0_seq1,0.00,0.00,0.00,0.00
    comp10003_c1_seq1,2.00,0.00,0.00,0.00
    comp100041_c0_seq1,3.00,0.00,0.00,0.00
    comp100041_c0_seq2,0.00,0.00,0.00,0.00
    comp100041_c0_seq3,0.00,0.00,0.00,0.00
    comp100051_c0_seq1,0.00,0.00,0.00,0.00
    comp1000890_c0_seq1,3.00,0.00,0.00,0.00
    This is what i'm running:

    Code:
    > spercysts_vs_embryos = read.csv (
    +   file.choose(), 
    +   header = TRUE, 
    +   row.names=1, 
    +   sep = ",", 
    +   dec = ".")
    
    > head(spercysts_vs_embryos)
                        C4 CRL_2APR10 CRL_1_15JUL11 CRL_2_15JUL11
    comp1000201_c0_seq1  5          0             0             0
    comp1000297_c0_seq1  7          0             0             0
    comp100036_c0_seq1   0          0             0             0
    comp10003_c1_seq1    2          0             0             0
    comp100041_c0_seq1   3          0             0             0
    comp100041_c0_seq2   0          0             0             0
    
    >cond = factor(c("SP", "SP", "EB", "EB"))
    
    > spercysts_vs_embryosDesign = data.frame(
    +   row.names = colnames( spercysts_vs_embryos ), 
    +   condition = c( "SP", "SP", "EB", "EB" ), 
    +   libType = c( "paired-end", "paired-end", "paired-end", "paired-end" ) )
    > spercysts_vs_embryosDesign
                  condition    libType
    C4                   SP paired-end
    CRL_2APR10           SP paired-end
    CRL_1_15JUL11        EB paired-end
    CRL_2_15JUL11        EB paired-end
    
    > str(spercysts_vs_embryos)
    'data.frame':	307048 obs. of  4 variables:
     $ C4           : num  5 7 0 2 3 0 0 0 3 0 ...
     $ CRL_2APR10   : num  0 0 0 0 0 0 0 0 0 0 ...
     $ CRL_1_15JUL11: num  0 0 0 0 0 0 0 0 0 10 ...
     $ CRL_2_15JUL11: num  0 0 0 0 0 0 0 0 0 3 ...
    So, everything looks fine to me. But when i try to create my cds:

    Code:
    > cds <-newCountDataSet(spercysts_vs_embryos, cond )
    Error in newCountDataSet(spercysts_vs_embryos, cond) : 
      The countData is not integer.
    So, if i check what is happening:

    Code:
    > which( is.na(spercysts_vs_embryos), arr.ind=TRUE )
         row col
    Any suggestions???
    Thanks!
  • pbseq
    Member
    • Feb 2010
    • 16

    #2
    looks like there'ssome non-integer, have you tried tail(spercysts_vs_embryos) ? Once I had some non-integer in tail
    pbseq

    Comment

    • Simon Anders
      Senior Member
      • Feb 2010
      • 995

      #3
      Please do not crosspost the same question simultaneously in two forums (SeqAnswers and Bioconductor mailing list).

      Comment

      • alisrpp
        Member
        • Dec 2010
        • 40

        #4
        Originally posted by Simon Anders View Post
        Please do not crosspost the same question simultaneously in two forums (SeqAnswers and Bioconductor mailing list).
        Sorry Simon, i was desperate...

        Comment

        • alisrpp
          Member
          • Dec 2010
          • 40

          #5
          Originally posted by pbseq View Post
          looks like there'ssome non-integer, have you tried tail(spercysts_vs_embryos) ? Once I had some non-integer in tail
          pbseq
          > tail(spercysts_vs_embryos)
          C4 CRL_2APR10 CRL_1_15JUL11 CRL_2_15JUL11
          comp99965_c0_seq1 3 0 11 0
          comp99972_c0_seq1 0 0 22 0
          comp99988_c0_seq2 0 0 0 0
          comp99995_c0_seq1 2 0 0 0
          comp999991_c0_seq1 3 0 9 0
          comp99999_c0_seq1 5 0 0 0

          Comment

          • muthu545
            Member
            • Jul 2011
            • 32

            #6
            Hi,

            Perform colSums(spercysts_vs_embryos), to see if there are any decimal vaues
            in the sums.

            Thanks
            --
            Muthu

            Comment

            • alisrpp
              Member
              • Dec 2010
              • 40

              #7
              Originally posted by muthu545 View Post
              Hi,

              Perform colSums(spercysts_vs_embryos), to see if there are any decimal vaues
              in the sums.

              Thanks
              --
              Muthu

              > colSums(spercysts_vs_embryos)
              C4 CRL_2APR10 CRL_1_15JUL11 CRL_2_15JUL11
              17856472 4152157 27308366 3531719

              Comment

              • muthu545
                Member
                • Jul 2011
                • 32

                #8
                Hi,

                Is it possible for you to attach the csv file (if in case you do not mind)
                in_order to replicate the same problem you encounter.

                Thanks
                --
                Muthu

                Comment

                • pbseq
                  Member
                  • Feb 2010
                  • 16

                  #9
                  it's not very polished , but I'd try:
                  new_DF =data.frame(cbind(as.integer(spercysts_vs_embryos[,1]),as.integer(spercysts_vs_embryos[,2]),as.integer(spercysts_vs_embryos[,3])))

                  then to get back to proper colnames:
                  colnames(new_DF)=c("a","b","c")

                  Comment

                  • alisrpp
                    Member
                    • Dec 2010
                    • 40

                    #10
                    Hi all,

                    I discovered that the problem was that RSEM was generating (for some reason that i cannot explain) decimal number in the column of expected count where you are suppose to have only integer numbers... I fixed it with excel (i know that is not a fancy way but i didn't know how to do it).

                    Thanks,
                    alisrpp

                    Comment

                    Latest Articles

                    Collapse

                    • 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
                    • SEQadmin2
                      New Genomics Technologies Take Aim at Long-Standing Limits
                      by SEQadmin2


                      Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                      We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                      ...
                      09-28-2026, 10:25 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 10-22-2026, 11:13 AM
                    0 responses
                    26 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-22-2026, 10:48 AM
                    0 responses
                    20 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-15-2026, 10:52 AM
                    0 responses
                    36 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-14-2026, 05:39 AM
                    0 responses
                    43 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...