Skip to content

Calculate the Pearson correlation between all genes in a given matrix

License

Notifications You must be signed in to change notification settings

rgranit/pearson.pl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pearson.pl

Calculate the Pearson correlation between all genes in a given matrix

  • Requires the 'Statistics::LSNoHistory' perl module

Usage

pearson.pl <Input File> <Delimiter (optional)>

Input

Tab delimited text file that holds gene names and expression values across samples.

Optional:

Delimiter type: tab,space,comma

Defualt is tab, if no value is entered.

Example input:

gene	sample1	sample2	sample3	sample4	sample5
a       1       2.1     2.8     4       5.2
b       1       1.9     3.2     4.1     4.9
c       6       2       4       5       8

Output

Output is a tab delimited list of the pearson correlation ans slope between all genes in the given matrix

About

Calculate the Pearson correlation between all genes in a given matrix

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages