Webservice::InterMine::Cookbook::List::Enrichment - List Enrichment
use Webservice::InterMine; my $service = Webservice::InterMine->get_service('www.flymine.org/query'); my $list = $service->list('PL classIII'); my $results = $list->enrichment( widget => 'publication_enrichment', population => 'my-custom-background', maxp => 0.01 ); for (<$results>) { printf "%s (%s) - %.3f\n", $_->{identifier}, $_->{description}, $_->{p-value}; }
You can perfom enrichment calculations on lists that you have access to.
To install Webservice::InterMine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Webservice::InterMine
CPAN shell
perl -MCPAN -e shell install Webservice::InterMine
For more information on module installation, please visit the detailed CPAN module installation guide.