NAME

spearmans.pl - This program calculates Spearman's Rank Correlation between two datasets.

SYNOPSIS

This utility takes two files in the format of umls-similarity.pl output and calculates the Spearman's Rank Correlation.

USAGE

Usage: spearmans.pl [OPTIONS] FILE1 FILE2

INPUT

FILE1 FILE2

Two files in the following format:

score<>CUI1<>CUI2 score<>CUI3<>CUI4 ect ...

The output format of umls-similarity.pl will work here because it extracts the CUIs from the paranthesis, so no worries. If you are not using the CUI format or a umls-similarity.pl output file though, use the --word option described below.

Optional Arguments:

Displays the quick summary of program options.

--word

The format of the input files contains words rather than CUIs and/or is not a umls-similarity.pl output file.

--N

displays N - the number of term pairs the correlation is being calculated over. This would be any term pair that has a score greater than or equal to zero.

--precision NUMBER

Displays values up to NUMBER places of decimal. Default is 4.

--version

Displays the version information.

OUTPUT

The Spearman's Rank Correlation between the two files.

SYSTEM REQUIREMENTS

  • Perl (version 5.8.5 or better) - http://www.perl.org

  • UMLS::Interface - http://search.cpan.org/dist/UMLS-Interface

  • UMLS::Similarity - http://search.cpan.org/dist/UMLS-Similarity

CONTACT US

If you have any trouble installing and using UMLS-Similarity, 
please contact us via the users mailing list :
  
    umls-similarity@yahoogroups.com
   
You can join this group by going to:
  
    http://tech.groups.yahoo.com/group/umls-similarity/
   
You may also contact us directly if you prefer :
  
    Bridget T. McInnes: bthomson at cs.umn.edu 

    Ted Pedersen : tpederse at d.umn.edu

AUTHOR

Bridget T. McInnes, University of Minnesota

COPYRIGHT

Copyright (c) 2007-2011,

Bridget T. McInnes, University of Minnesota
bthomson at cs.umn.edu
   
Ted Pedersen, University of Minnesota Duluth
tpederse at d.umn.edu


Siddharth Patwardhan, University of Utah, Salt Lake City
sidd@cs.utah.edu

Serguei Pakhomov, University of Minnesota Twin Cities
pakh0002@umn.edu

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to:

The Free Software Foundation, Inc.,
59 Temple Place - Suite 330,
Boston, MA  02111-1307, USA.