Package Correlation
Class EM
- java.lang.Object
-
- Correlation.Correlation
-
- Correlation.EM
-
public class EM extends Correlation
Calculates LD using the expectation maximization method
-
-
Constructor Summary
Constructors Constructor Description EM()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
calculate(byte[] d1, byte[] d2)
Calculates LD between two SNPs-
Methods inherited from class Correlation.Correlation
calculate, setSilent, topn, topn
-
-
-
-
Method Detail
-
calculate
public double calculate(byte[] d1, byte[] d2)
Description copied from class:Correlation
Calculates LD between two SNPs- Specified by:
calculate
in classCorrelation
- Parameters:
d1
- SNP 1 genotyped2
- SNP 2 genotype- Returns:
- LD between the two SNPs
-
-