Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sindrle
    Senior Member
    • Aug 2013
    • 266

    #1

    Using GOseq on Cuffdiff output

    Hi!
    I have data from Cuffdiff, but do not understand how to do the following (from GOseq manual):

    2 Reading data
    We assume that the user can use appropriate in-built R functions (such as read.table or scan) to obtain two vectors, one containing all genes assayed in the RNA-seq experiment, the other containing all genes which are DE. If we assume that the vector of genes being assayed is named assayed.genes and the vector of DE genes is named de.genes we can construct a named vector suitable for use with goseq using the following:
    > gene.vector=as.integer(assayed.genes%in%de.genes)
    > names(gene.vector)=assayed.genes
    > head(gene.vector)
    It may be that the user can already read in a vector in this format, in which case it can then be immediately used by goseq.

    Can anyone pls help? Thanks alot!!!
  • nsl
    Member
    • Jan 2011
    • 28

    #2
    Hi sindrle,

    Did you figure out how to input cuffdiff results into goseq?

    Thanks
    nsl

    Comment

    • sindrle
      Senior Member
      • Aug 2013
      • 266

      #3
      The first steps I made an input looking like "genes" (see the manual), basically two columns, one with gene names and one with either 1 or 0 meaning DE or non-DE.

      library(edgeR)
      library(org.Bt.eg.db)
      library(goseq)
      library(GO.db)
      library(annotate)

      # 6.5 GO analysis
      # 6.5.1 Fitting the Probability Weighting Function (PWF)
      # #Getting gene length
      pwf=nullp(MyoGenesGOseq,"hg19","geneSymbol")
      pwfAdi=nullp(AdiGenesGOseq,"hg19","geneSymbol")

      ##6.5.2 Using the Wallenius approximation
      GO.wall=goseq(pwf,"hg19","geneSymbol")
      head(GO.wall)
      GO.wallAdi=goseq(pwfAdi,"hg19","geneSymbol")
      head(GO.wallAdi)

      ##6.5.6 Making sense of the results
      enriched.GO=GO.wall$category[p.adjust(GO.wall$over_represented_pvalue, method="BH") < 0.1]

      enriched.GOAdi=GO.wallAdi$category[p.adjust(GO.wallAdi$over_represented_pvalue, method="BH") < 0.13]

      library(GO.db)

      for(go in enriched.GO[1:5]){
      print(GOTERM[[go]])
      cat("--------------------------------------\n")
      }

      for(go in enriched.GOAdi[1:1]){
      print(GOTERM[[go]])
      cat("--------------------------------------\n")
      }
      Last edited by sindrle; 03-14-2014, 11:41 AM. Reason: Wops, wrong package..

      Comment

      • nsl
        Member
        • Jan 2011
        • 28

        #4
        Thank you for the quick reply Sindrle. I am new to this, may I bother you with a few more questions in the future if I get stuck?

        sincerely,

        nsl

        Comment

        • sindrle
          Senior Member
          • Aug 2013
          • 266

          #5
          Well, I have just taken a quick look myself, but you can try!

          Comment

          • nsl
            Member
            • Jan 2011
            • 28

            #6
            Phew!

            Sindrle, I thought i had my work cut out. I couldn't make head or tail of things at first. Very kind of you. I am going through the manual and shall incorporate your advice in the process. Thank you. It must be late in Norway!

            Comment

            • sindrle
              Senior Member
              • Aug 2013
              • 266

              #7
              Good luck, keep us informed!!

              Comment

              Latest Articles

              Collapse

              • 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
                ...
                07-31-2026, 11:01 AM
              • SEQadmin2
                Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                by SEQadmin2


                Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                The systematic characterization of the human proteome has
                ...
                07-20-2026, 11:48 AM
              • SEQadmin2
                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by SEQadmin2



                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                ...
                07-09-2026, 11:10 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 07-31-2026, 02:55 AM
              0 responses
              20 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-24-2026, 12:17 PM
              0 responses
              16 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-23-2026, 11:41 AM
              0 responses
              16 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-20-2026, 11:10 AM
              0 responses
              26 views
              0 reactions
              Last Post SEQadmin2  
              Working...