Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ndeshpan
    Member
    • Nov 2009
    • 29

    #1

    DESeq input table upload

    Hi,

    I am new to DESeq (R version 2.13.1) and am trying to upload a tab delimited file.. (I am using the sample file "TagSeqExample.tab"), but I am getting an error..

    ==================================================
    > library( DESeq )
    Loading required package: Biobase

    Welcome to Bioconductor

    Vignettes contain introductory material. To view, type
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")' and for packages 'citation("pkgname")'.

    Loading required package: locfit
    Loading required package: akima
    Loading required package: lattice
    locfit 1.5-6 2010-01-20
    Warning messages:
    1: '.readRDS' is deprecated.
    Use 'readRDS' instead.
    See help("Deprecated")
    2: '.readRDS' is deprecated.
    Use 'readRDS' instead.
    See help("Deprecated")
    3: '.readRDS' is deprecated.
    Use 'readRDS' instead.
    See help("Deprecated")
    > over <- read.delim("C:\\Nandan\\TagSeqExample_top.tab", header=TRUE, stringsAsFactors=TRUE)
    > conds=c(rep("GZ", 1), rep("DZ", 1))
    > head(over)
    gene T1a T1b T2 T3 N1 N2
    1 Gene_00001 0 0 2 0 0 1
    2 Gene_00002 20 8 12 5 19 26
    3 Gene_00003 3 0 2 0 0 0
    4 Gene_00004 75 84 241 149 271 257
    5 Gene_00005 10 16 4 0 4 10
    6 Gene_00006 129 126 451 223 243 149
    > conds=c(rep("GZ", 1), rep("DZ", 1))
    > cds <- newCountDataSet( over, conds )
    Error in round(countData) : Non-numeric argument to mathematical function
    ==================================================

    I tried my dataset (tab de-limited file) but with the same results.. I distinctly remember my tab separated file getting uploaded fine with the previous version of DeSeq (however I need to use this version to use a few new methods)

    I have confirmed that the columns contain only numeric characters

    Can anyone pint me in the right direction?

    cheers,

    Nandan
  • labunit
    Member
    • Sep 2010
    • 10

    #2
    Originally posted by ndeshpan View Post
    Hi,

    I am new to DESeq (R version 2.13.1) and am trying to upload a tab delimited file.. (I am using the sample file "TagSeqExample.tab"), but I am getting an error..

    ==================================================
    > library( DESeq )
    Loading required package: Biobase

    Welcome to Bioconductor

    Vignettes contain introductory material. To view, type
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")' and for packages 'citation("pkgname")'.

    Loading required package: locfit
    Loading required package: akima
    Loading required package: lattice
    locfit 1.5-6 2010-01-20
    Warning messages:
    1: '.readRDS' is deprecated.
    Use 'readRDS' instead.
    See help("Deprecated")
    2: '.readRDS' is deprecated.
    Use 'readRDS' instead.
    See help("Deprecated")
    3: '.readRDS' is deprecated.
    Use 'readRDS' instead.
    See help("Deprecated")
    > over <- read.delim("C:\\Nandan\\TagSeqExample_top.tab", header=TRUE, stringsAsFactors=TRUE)
    > conds=c(rep("GZ", 1), rep("DZ", 1))
    > head(over)
    gene T1a T1b T2 T3 N1 N2
    1 Gene_00001 0 0 2 0 0 1
    2 Gene_00002 20 8 12 5 19 26
    3 Gene_00003 3 0 2 0 0 0
    4 Gene_00004 75 84 241 149 271 257
    5 Gene_00005 10 16 4 0 4 10
    6 Gene_00006 129 126 451 223 243 149
    > conds=c(rep("GZ", 1), rep("DZ", 1))
    > cds <- newCountDataSet( over, conds )
    Error in round(countData) : Non-numeric argument to mathematical function
    ==================================================

    I tried my dataset (tab de-limited file) but with the same results.. I distinctly remember my tab separated file getting uploaded fine with the previous version of DeSeq (however I need to use this version to use a few new methods)

    I have confirmed that the columns contain only numeric characters

    Can anyone pint me in the right direction?

    cheers,

    Nandan
    If I remember correctly you should first do the following:

    over <- read.delim("C:\\Nandan\\TagSeqExample_top.tab", header=TRUE, stringsAsFactors=TRUE)
    conds=c(rep("GZ", 1), rep("DZ", 1))

    rownames(over) <- over$gene
    over <- over[,-1]

    This problem arises because non-numeric values are being passed on (the first colum counts as well). This way only numeric values are present in your count table.
    Also check wether there are any empty entries in your table.

    Comment

    • dariober
      Senior Member
      • May 2010
      • 311

      #3
      Hi,
      I think the problem is in the count table (over). In your case the first column contains the gene name instead of containing the first count. You should be able to fix it by removing the first column and by assigning gene names to row names (untested):
      Code:
      over <- read.delim("C:\\Nandan\\TagSeqExample_top.tab", header=TRUE, stringsAsFactors=TRUE)
      gene_names<- over[,1]
      over<- over[,2:ncol(over)]
      rownames(over)<- gene_names
      ## ...etc
      Also, I don't remember the functions of DESeq exactly but I think the vector of conditions should be of the same length as the the number of samples so your conds=c(rep("GZ", 1), rep("DZ", 1)) is incorrect.

      Dario

      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
      30 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      22 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      39 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      45 views
      0 reactions
      Last Post SEQadmin2  
      Working...