Ian Sillitoe > WebService-Cath-FuncNet > WebService::Cath::FuncNet::Operation::ScorePairwiseRelations

Download:
WebService-Cath-FuncNet-0.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

WebService::Cath::FuncNet::Operation::ScorePairwiseRelations

SYNOPSIS ^

Represents the 'ScorePairwiseRelations' FuncNet WebService operation

  $ws = WebService::Cath::FuncNet->new();
  
  @proteins1 = qw( A3EXL0 Q8NFN7 O75865 );
  @proteins2 = qw( Q5SR05 Q9H8H3 P22676 );

  $response = $ws->score_pairwise_relations( \@proteins1, \@proteins2 );

  foreach my $result ( @{ $response->results } ) {
      printf "%s matches %s with p-value of %f\n",
                $result->protein_1,
                $result->protein_2,
                $result->p_value;
  }

METHODS ^

run( \@proteins1, \@proteins2 )

Calls the WebService operation 'ScorePairwiseRelations' which does a pairwise comparison of two sets of protein identifiers.

Returns:

  WebService::Cath::FuncNet::Operation::ScorePairwiseRelations::Response

AUTHOR ^

Ian Sillitoe <sillitoe@biochem.ucl.ac.uk>

LICENCE AND COPYRIGHT ^

Copyright (c) 2008, Ian Sillitoe <sillitoe@biochem.ucl.ac.uk>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

syntax highlighting: