Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DunningL
    Junior Member
    • May 2010
    • 4

    #1

    baySeq

    I was wondering if anyone else gets the error:

    Error in validObject(.Object) :
    invalid class "countData" object: invalid object for slot "data" in class "countData": got class "data.frame", should be or extend class "matrix"

    when trying to import data into baySeq. I am using a simlar spreadsheet which worked for DESeq, DEGseq and edgeR but it doesnt work for baySeq. I have tried playing around with removing the labels etc but to no avail.

    any help would be greatly appreciated
  • DunningL
    Junior Member
    • May 2010
    • 4

    #2
    The problem appears to be that the 'raw.data' object is of class 'data.frame' rather than class 'matrix'. If you try the following:

    > raw.data <- as.matrix(raw.data)

    before the command

    > CD <- new("countData", data = raw.data, replicates = replicates,
    + libsizes = libsizes, groups = groups)

    then this should succeed.

    Comment

    • DunningL
      Junior Member
      • May 2010
      • 4

      #3
      Also, if anyone else is using the programme what number of iterations and bootstraps are you using for your data set?

      Comment

      • sunkorner
        Member
        • Jan 2011
        • 15

        #4
        Can anyone please let me know why I am encountering this problem in baySeq. Thank you.
        > CDP.NBML <- getPriors.NB(CD, samplesize = 1000, estimation = "QL", cl = cl) > CDPost.NBML@estProps
        Finding priors...Error in quantile.default(nzSD, 1:sqnum/sqnum) :
        missing values and NaN's not allowed if 'na.rm' is FALSE

        Comment

        • unidodo
          Junior Member
          • Jul 2010
          • 8

          #5
          I installed the latest version 1.8.3 and followed the manual, got the following error:

          replicates <- c("simA", "simA", "simA", "simA", "simA", "simB", "simB", "simB", "simB","simB")

          Error in validObject(.Object) :
          invalid class "countData" object: invalid object for slot "replicates" in class "countData": got class "character", should be or extend class "numeric"

          But they are characters in the manual as well.

          Anyone experienced it? Tia.

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            How Immunogenomics Decodes Immunity’s Genetic Blueprint
            by SEQadmin2




            The immune system’s power comes from its genetic diversity, allowing myriad threats to be neutralized through first recognizing foreign antigens. That diversity is also what makes the immune system so difficult to study. Recent advances in sequencing technology and computational biology, however, are giving researchers new tools to understand immune responses and immune-related diseases in greater detail.

            This convergence of genetics, immunology, and computation...
            Today, 05:41 AM
          • SEQadmin2
            Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
            by SEQadmin2



            CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

            Despite this, “CRISPR helped turn genome editing from a specialized technique into
            ...
            07-31-2026, 11:01 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 08-24-2026, 10:32 AM
          0 responses
          41 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 08-20-2026, 11:17 AM
          0 responses
          47 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 08-18-2026, 10:05 AM
          0 responses
          52 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 08-13-2026, 12:22 PM
          0 responses
          50 views
          0 reactions
          Last Post SEQadmin2  
          Working...