Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wetSEQer
    Member
    • Dec 2013
    • 15

    #1

    Questions about GOstats.............

    Hello folks.....

    I recently ran into a few question regarding the GOstats (Bioconductor package) output.

    Here is the parameters for the enrichment analysis:
    params<-new('GOHyperGParams',
    geneIds=go_object, ###gene of interest
    universeGeneIds=universe, ###background genes
    ontology='BP',
    pvalueCutoff=0.001,
    conditional=F,
    testDirection='over',
    annotation="org.Hs.eg.db")
    hgOver<-hyperGTest(params)

    When I am running the

    probeSetSummary(hgOver) to check which genes are in each ontology category, I ran into this warning message:
    Error in (function (classes, fdef, mtable) :

    unable to find an inherited method for function ‘columns’ for signature ‘"function"’

    If you have a solution, please let me know.

    Also, I noticed if a GO_ID is enriched, and the output tells you there are saying 20 counts, I always see more genes with the given go_id from the input list....

    Anyone know why?

    Thanks
  • wetSEQer
    Member
    • Dec 2013
    • 15

    #2
    We recently ran into a problem of GOstats package:

    Below is how we performed GO enrichment analysis, both the background and input genes are vector of characters containing entrez gene ID.
    ###set up backgrourd genes
    x<-org.Hs.egGO
    mapped_genes<-mappedkeys(x)
    ###set up input genes
    go_object<-sample_to_be_test
    ###Enrichment analysis:
    class(go_object)<-"character"
    universe<-mapped_genes
    params<-new('GOHyperGParams',
    geneIds=go_object,
    universeGeneIds=universe,
    ontology='BP',
    pvalueCutoff=0.001,
    conditional=F,
    testDirection='over',
    annotation="org.Hs.eg.db") #for human
    hgOver<-hyperGTest(params)
    #hgOver #remove # for pipeline checking
    result<-summary(hgOver)
    After the run, we want to see what genes are in each enriched go_term.
    First of all, probeSetSummary(hgOver) does not work, it returned warning message:
    Error in (function (classes, fdef, mtable) :
    unable to find an inherited method for function ‘columns’ for signature ‘"function"’
    Then we converted the input entrez_ID to go_id to manually sort out the genes in each category.

    We found the "count" for a given go_id in result doesn't fit with the number of genes carrying the go_id.

    Is there a solution to this? If the count is wrong, is the statistic analysis after the gene counting still useful.

    Comment

    Latest Articles

    Collapse

    • kinpict.com
      Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by kinpict.com
      The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
      Today, 06:37 PM
    • SEQadmin2
      16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by SEQadmin2





      NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
      10-30-2026, 06:46 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 11-12-2026, 07:59 AM
    0 responses
    27 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-05-2026, 09:25 AM
    0 responses
    35 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-03-2026, 11:54 AM
    2 responses
    56 views
    0 reactions
    Last Post kinpict.com  
    Started by SEQadmin2, 10-28-2026, 09:57 AM
    0 responses
    175 views
    0 reactions
    Last Post SEQadmin2  
    Working...