Package bpm :: Module faread
[hide private]
[frames] | no frames]

Module faread

source code

'faread.py' is a wrapper around 'faclient.py' that handles the nastiness of the data we get back.
Functions [hide private]
 
functionate(genes, modulecnt)
Sends a geneset to Funcassociate and returns its Go enrichment results.
source code
Variables [hide private]
  __package__ = 'bpm'
Function Details [hide private]

functionate(genes, modulecnt)

source code 

Sends a geneset to Funcassociate and returns its Go enrichment results.

Handles a lot of the nastiness of parsing the return results. Namely, using the entity attribute table to actually get the names of genes that correspond to each GO enrichment.

Parameters:
  • genes - A set of gene identifiers.
  • modulecnt - The total number of modules in the BPM file. This corresponds to the 'reps' (reptitions) Funcassociate parameter.