# Similarity measures for IBD segments

### Description

`sim`

: **R** implementation of `sim`

.

Similarity measure for IBD segments, tagSNVs, and individuals.

### Usage

1 | ```
sim(x,y,simv="minD",minInter=2)
``` |

### Arguments

`x` |
first vector. |

`y` |
second vector. |

`simv` |
similarity measure: |

`minInter` |
minimal size of intersection that is required for a non-zero measure; default 2. |

### Details

Similarity measure for IBD segments, tagSNVs, and individuals.

Implementation in **R**.

### Value

`erg` |
the similarity measure between 0 and 1, where 0 is not similar and 1 is identical. |

### Author(s)

Sepp Hochreiter

### References

S. Hochreiter et al., ‘FABIA: Factor Analysis for Bicluster Acquisition’, Bioinformatics 26(12):1520-1527, 2010.

### See Also

`IBDsegment-class`

,
`IBDsegmentList-class`

,
`analyzeIBDsegments`

,
`compareIBDsegmentLists`

,
`extractIBDsegments`

,
`findDenseRegions`

,
`hapFabia`

,
`hapFabiaVersion`

,
`hapRes`

,
`chr1ASW1000G`

,
`IBDsegmentList2excel`

,
`identifyDuplicates`

,
`iterateIntervals`

,
`makePipelineFile`

,
`matrixPlot`

,
`mergeIBDsegmentLists`

,
`mergedIBDsegmentList`

,
`plotIBDsegment`

,
`res`

,
`setAnnotation`

,
`setStatistics`

,
`sim`

,
`simu`

,
`simulateIBDsegmentsFabia`

,
`simulateIBDsegments`

,
`split_sparse_matrix`

,
`toolsFactorizationClass`

,
`vcftoFABIA`

### Examples

1 2 3 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.