https://github.com/atarashansky/lightgoea

A light-weight python function for performing GO term enrichment analysis

https://github.com/atarashansky/lightgoea

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A light-weight python function for performing GO term enrichment analysis

Basic Info
  • Host: GitHub
  • Owner: atarashansky
  • Language: Python
  • Default Branch: master
  • Size: 24.4 KB
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 2
  • Open Issues: 0
  • Releases: 0
Created over 6 years ago · Last pushed over 6 years ago
Metadata Files
Readme

README.md

LightGOEA

A light-weight python function for performing GO term enrichment analysis

Documentation

```python def GOEA(targetgenes,GENESETS,goterms=None,fdrthresh=0.25,pthresh=1e-3): """Performs GO term Enrichment Analysis using the hypergeometric distribution.

Parameters
----------
target_genes - array-like
    List of target genes from which to find enriched GO terms.
GENE_SETS - dictionary
    Dictionary where the keys are GO terms and the values are lists of genes associated with each GO term.
    Ex: {'GO:0000001': ['GENE_A','GENE_B'],
         'GO:0000002': ['GENE_A','GENE_C','GENE_D']}
    Make sure to include all available genes that have GO terms in your dataset.
goterms - array-list, optional, default None
    If provided, only these GO terms will be tested.
fdr_thresh - float, optional, default 0.25
    Filter out GO terms with FDR q value greater than this threshold.
p_thresh - float, optional, default 1e-3
    Filter out GO terms with p value greater than this threshold.

Returns:
-------
enriched_goterms - pandas.DataFrame
    A Pandas DataFrame of enriched GO terms with FDR q values, p values, and associated genes provided.
"""

```

Usage

All you need is a target list of genes and a dictionary of GO terms with associated genes: Ex: python GENE_SETS = {'GO:0000001': ['GENE_A','GENE_B'], 'GO:0000002': ['GENE_A','GENE_C','GENE_D']} Make sure this dictionary contains all genes with available GO terms in your dataset.

To run GOEA, simply do: python from light_goea import GOEA enriched_goterms = GOEA(target_genes,GENE_SETS)

Owner

  • Login: atarashansky
  • Kind: user

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 13
  • Total Committers: 1
  • Avg Commits per committer: 13.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
atarashansky t****n@s****u 13
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: 7 minutes
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • biofcallejas (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels