Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help with cummeRbund

    Hello
    I am new in R, but I am work with cummeRbund.
    I followed the next steps:

    > library(cummeRbund)
    > cuff_data < - readCufflinks("diff_out")
    > csDensity(genes(cuff_data))
    > csScatter(genes(cuff_data), "X571A", "X57B", "X571C", "X571D" )

    BUT, I have the next error:

    Error en if (logMode) { : argumento no interpetable como lógico

    Someone can help me please?

    I have four conditions without replicates.

  • #2
    Is it giving you that error just for the csScatter() call? What does it say if you just type "csScatter" with no arguments or parentheses? It looks like it's saying that logMode isn't a logical parameter, but it's definitely set to T by default.

    Comment


    • #3
      No, I have similar error with csVolcano. I followed the steps of the TOPHAT paper (Differential gene and transcript expression analysis of RNA-seq experiments with TopHat and Cufflinks, nature protocols).

      Comment


      • #4
        Does that error message mean something like "argument not interpretable as logical"?

        Also, could you tell me what "csScatter" prints to your screen?

        When I type that, I see

        Code:
        > csScatter
        standardGeneric for "csScatter" defined from package "cummeRbund"
        
        function (object, x, y, logMode = TRUE, pseudocount = 1, labels,
            smooth = FALSE, ...)
        standardGeneric("csScatter")
        <environment: 0x12289cc4>
        Methods may be defined for arguments: object, x, y, logMode, pseudocount, labels, smooth
        Use  showMethods("csScatter")  for currently available ones.
        In particular, it says "logMode = TRUE". Thus logMode is interpretable as logical because it is by default. Does your say "logMode =" with something other than "TRUE", or whatever the Spanish version of TRUE in R is?

        Comment


        • #5
          This is what the csScatter prints in my screen:

          > csDensity(genes(cuff_data))
          Mensajes de aviso perdidos
          1: Removed 6 rows containing non-finite values (stat_density).
          2: Removed 3 rows containing non-finite values (stat_density).
          3: Removed 8 rows containing non-finite values (stat_density).
          4: Removed 4 rows containing non-finite values (stat_density).
          > csScatter(genes(cuff_data), "X571A","X571B","X571C","X571D")
          Error en if (logMode) { : argumento no interpetable como lógico

          In the previous step, I have not problem (in csDensity)

          And when I type csScatter, I obtain this:

          > csScatter
          standardGeneric for "csScatter" defined from package "cummeRbund"

          function (object, x, y, logMode = TRUE, pseudocount = 1, labels,
          smooth = FALSE, ...)
          standardGeneric("csScatter")
          <environment: 0xe001228>
          Methods may be defined for arguments: object, x, y, logMode, pseudocount, labels, smooth
          Use showMethods("csScatter") for currently available ones.

          Comment


          • #6
            Oh, I think I see what's going on. I don't know why I didn't see it before. Are "X571A", "X571B", "X571C", and "X571D" your conditions? csScatter() is seeing genes(cuff_data) as the object argument, "X571A" as the x argument, "X571B" as y and "X571C" as logMode. But "X571C" obviously isn't a logical value, so it gives you an error.

            It looks as though you can only plot two samples at a time, which makes sense because you only have two axes. You could do the six pairwise comparisons I guess. Maybe csScatterMatrix is what you want, I just don't have experience with it so I don't know for sure. So something like
            Code:
            csScatter(genes(cuff_data), "X571A", "X571B")
            should work. Post back if it still gives you issues.

            I'm sorry it took so long for me to realize what was happening. I thought it was a (human spoken) language issue at first.
            Last edited by blakeoft; 10-10-2014, 04:54 AM.

            Comment


            • #7
              Sorry for the late but I was full work.
              Thanks for all. That was the solution. Thanks!!! Now I can create the graphics needed.
              THANKS!! jeje
              Greetings!

              Comment

              Latest Articles

              Collapse

              • seqadmin
                Current Approaches to Protein Sequencing
                by seqadmin


                Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                04-04-2024, 04:25 PM
              • seqadmin
                Strategies for Sequencing Challenging Samples
                by seqadmin


                Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                03-22-2024, 06:39 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, 04-11-2024, 12:08 PM
              0 responses
              30 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-10-2024, 10:19 PM
              0 responses
              32 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-10-2024, 09:21 AM
              0 responses
              28 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-04-2024, 09:00 AM
              0 responses
              53 views
              0 likes
              Last Post seqadmin  
              Working...
              X